Friday, October 31, 2014

Re: GWT 2.7.0 RC1 available

It works fine by adding in my CodeServer configuration :

-launcherDir ${resource_loc:cassis-server/target/cassis-server-1.0-SNAPSHOT} 

Reading Daniel, I thought that we had to use DevMode instead of CodeServer.

But I don't know if it is possible to change the project-version by a variable !

Thanks for your help.

Le vendredi 31 octobre 2014 16:39:21 UTC+2, Thomas Broyer a écrit :

On Friday, October 31, 2014 2:10:14 PM UTC+1, Raphael Garnier wrote:

I also use SDM with -noserver and I don't know wich directory I must chose to have the refresh feature active.

Here's the arguments : 
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl http://localhost:8080/tablet.jsp -logLevel INFO -noserver -workDir "${resource_loc:/cassis-tablet/target/gwtc/work}" -launcherDir "${resource_loc:/cassis-tablet/target/gwtc/work/fr.agfahealthcare.cassis.CassisTablet/compile-1/war}" -war "${resource_loc:/cassis-tablet/target/cassis-tablet-1.0-SNAPSHOT}" -codeServerPort 8888 -bindAddress fr.agfahealthcare.cassis.CassisTablet_dev

and the launch log  :
Runing CodeServer with parameters: [-noprecompile, -port, 8888, -sourceLevel, 1.7, -bindAddress,, -workDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\work, -launcherDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\cassis-tablet-1.0-SNAPSHOT, -logLevel, INFO, fr.agfahealthcare.cassis.CassisTablet_dev]

As you said Thomas, I have to change the -launcherDir, but I don't know what to use ?

Well, either you use DevMode and use -war, or you use CodeServer and use -launcherDir (as you saw, DevMode's -war is passed as -launcherDir to the spawned CodeServer –actually running in a thread, not a child process–, and if you had passed -modulePathPrefix to DevMode, it would have been appended to the -war before being used as -launcherDir). When you used -noserver with DevMode, you can now switch to CodeServer, as DevMode has no added value in this case (unless you need to switch back to -nosuperDevMode from time to time).

Anyway, the -launcherDir needs to be served by your "external" server so that the browser loads the *.nocache.js that's just been generated and both must run on the same host (knowing that project, that should be the case).

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment