Friday, April 22, 2016

Re: SuperDevMode automatic recompile does not work with external server

Hmm. I just tried some options of the maven plugin but that did not
work. But it's not important anyway. I integrated build step into our
java server that copies over the nocache.js files of the gwt project
into its assets folder. That works for both the superdevmode and the
regular ones (when deploying to production). File closed. SuperDevMode
now works like a charm.

Thanks for the great help Jens!


Best,

Raphael

On Fri, Apr 22, 2016 at 4:22 PM, Jens <jens.nehlmeier@gmail.com> wrote:
>
>> SuperDevMode does not seem to respect gwt.war when compiling its
>> superdevmode.nocache.js. And that is the problem. The special
>> superdevmode.nocache.js gets created in the target folder of the
>> original gwt project. Our Java server knows nothing about it...
>>
>> Is there a good workaround? Like telling SuperDevMode where to put its
>> nocache files to? If not I have to integrate that into the build of
>> our java dev server I guess...
>
>
> I am not really familiar with the maven plugins for GWT but DevMode -war
> <dir> will be forwarded to CodeServer -launcherDir <dir> and the launcherDir
> is the location CodeServer writes the special *.nocache.js file and all
> public resources referenced by GWT modules (using the <public> tag) to. So
> generally it should just work as before.
>
> So with gwt:run you would configure the -war parameter (which internally
> sets the same value as launcherDir) and with gwt:run-codeserver (?) you
> would configure the -launcherDir parameter directly.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscribe@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment