GWT dev mode with pre-installed tomcat

458 views
Skip to first unread message

Nuno

unread,
Jan 8, 2010, 8:21:51 AM1/8/10
to Google-We...@googlegroups.com
Hello everybody,

I'm implementing gwt on a existing project. and i need to use dev mode with the already installed tomcat.

Can anybody help me configure this?

I'm using gwt 2.0


Att

Bruno Bilescky

--
Wants to learn Javascript? Read my blog / Quer aprender a programar? leia meu blog  
http://tcninja.blogspot.com


Chris Ramsdale

unread,
Jan 8, 2010, 11:24:23 AM1/8/10
to google-we...@googlegroups.com
What specific issues are you running into?


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Sebastian

unread,
Jan 8, 2010, 9:15:53 AM1/8/10
to Google Web Toolkit
Hello,

I use IntelliJ as IDE but basically what I do is to start the Tomcat
as normal and to start the GWT class com.google.gwt.dev.DevMode with
the following params.

-noserver -gen /Users/hennebrueder/workspaces/default/bund-apfel/
target/bund-apfel-gen -war /Users/hennebrueder/workspaces/default/bund-
apfel/target/bund-apfel -startupUrl apfel/Editor.html
de.laliluna.bund.Editor

Here is the full java command which includes all libs as well.

/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
-Xmx512m -Dfile.encoding=MacRoman -classpath /System/Library/
Frameworks/JavaVM.framework/Versions/1.6/Home/lib/deploy.jar:/System/
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/dt.jar:/
System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/
javaws.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/
Home/lib/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/
1.6/Home/lib/management-agent.jar:/System/Library/Frameworks/
JavaVM.framework/Versions/1.6/Home/lib/plugin.jar:/System/Library/
Frameworks/JavaVM.framework/Versions/1.6/Home/lib/sa-jdi.jar:/System/
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/
charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/
Home/../Classes/classes.jar:/System/Library/Frameworks/
JavaVM.framework/
..../Users/hennebrueder/.m2/repository/hsqldb/hsqldb/1.8.0.7/
hsqldb-1.8.0.7.jar com.google.gwt.dev.DevMode -noserver -gen /Users/
hennebrueder/workspaces/default/bund-apfel/target/bund-apfel-gen -war /
Users/hennebrueder/workspaces/default/bund-apfel/target/bund-apfel -
startupUrl apfel/Editor.html de.laliluna.bund.Editor

Best Regards

Sebastian Hennebrueder

Martin D'Aloia

unread,
Jan 8, 2010, 9:06:13 AM1/8/10
to google-we...@googlegroups.com
Create a new Run configuration in Eclipse with these parameters:

Main class: com.google.gwt.dev.DevMode
Arguments: -noserver -startupUrl http://localhost:8080/your_context/ com.package.to.your.AppModule
In Classpath tab: under User Entries add your source folder.

On http://code.google.com/intl/es/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html under the title "Using an IDE with Development Mode" you have an example with ant and one with the command-line



Reply all
Reply to author
Forward
0 new messages