How can I modify *.lauch for GWT shell

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

How can I modify *.lauch for GWT shell

Postby chuhan » Mon Dec 18, 2006 1:24 pm

Hi,

Beause of some reasons, I have to modify *.launch file for GWT shell. According to your manaul, *.launch file is automatically generated when I start a gwt application. How can I add customized configuration to the file.

1. I need to increase the heap memory for GWT shell - because of 'out of memory' error when compiling.
2. I need to add GWT third party library path to the shell.

thanks in advance.


chuhan
chuhan
 
Posts: 28
Joined: Tue Nov 14, 2006 3:28 pm

Re: How can I modify *.lauch for GWT shell

Postby Eric Clayberg » Tue Dec 19, 2006 11:00 am

chuhan wrote:1. I need to increase the heap memory for GWT shell - because of 'out of memory' error when compiling.

In our latest build, we've added a Java Arguments page to the GWT launch configuration, so it is now possible to set the heap settings in the "VM arguments" block.

chuhan wrote:2. I need to add GWT third party library path to the shell.

The classpath should not be modified using the launch configuration. The standard Java property pages should be used instead.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Add third party jars

Postby colinzhao » Fri Jan 26, 2007 1:35 pm

Eric:

I have the same problem. I need to add a few third party jars to the server. Your post is not very clear how to do it. Can you explain a bit more how to do within eclipse?


Colin
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Add third party jars

Postby Eric Clayberg » Fri Jan 26, 2007 7:44 pm

You want the Java Build Path page in the project's Property dialog.

Alternatively, you can edit your project's .classpath file by hand.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby colinzhao » Sat Jan 27, 2007 4:33 am

Eric:

Thanks for your reply. You are correct. It turns out to be my own problem. The third party jar reference s other jars that need to be in the build path. It works now after I add them.

Colin
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests