On 04/13/2009 04:00 PM, Vitali Lovich wrote: > > > On Mon, Apr 13, 2009 at 6:38 PM, Jeff Chimene <[email protected] > <mailto:[email protected]>> wrote: > > > On 04/13/2009 02:48 PM, pohl wrote: > > Thank you for your responses. I see that the build-gwt.xml ANT > > script in my GWT4NB-based project does have a "-noserver" > argument in > > the block that invokes GWTShell, so at least one compile step is > > necessary, as per Jeff's observation, to copy those resources to the > > server. > > > > I'm still at a loss in my attempt to understand exactly what > > conditions are necessary to get this much-promised "fast turnaround" > > in hosted mode. If I stop the debugger and debug my project again > > (even if I make absolutely no changes to the source code) the > > GWTCompiler runs again. Is this a failing in Netbeans and/or > GWT4NB? > > So change the ant script so that it does what you want it to. I've > never gone the noserver route as I've always used the embedded app > server (Jetty in 1.6). > > > > > > I'm not a GWT expert, but I'm pretty sure that if you exit hosted > mode, > whatever dynamic structures are created to communicate w/ your IDE are > lost. Hence the need to recompile on the next invocation. > > In hosted mode, only the Java code needs to be recompiled - no need to > run the Javascript compiler (except the 1 time for resources perhaps > in noserver mode as was mentioned, although I've never used that mode).
Yeah, that must be the issue. When using noserver mode, it must be that the hosted mode server always wants a restart. ISTR that when I first started using GWT, hosted mode would "just work" with a press of the reload. Now that I'm using noserver almost exclusively, the reload of the hosted mode server is SOP. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
