On Friday, October 31, 2014 2:10:14 PM UTC+1, Raphael Garnier wrote:
>
> Hi,
>
> 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 0.0.0.0
>> fr.agfahealthcare.cassis.CassisTablet_dev
>
>
> and the launch log :
>
>> Runing CodeServer with parameters: [-noprecompile, -port, 8888,
>> -sourceLevel, 1.7, -bindAddress, 0.0.0.0, -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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.