You don't have to recompile client code and deploy to the server when using hosted mode. You can just refresh the hosted mode browser to see client changes. Server changes, of course, have to be compiled and deployed in order to show up (excluding possible, although unreliable, IDE hot-swapping).
On Wed, Sep 10, 2008 at 11:41 AM, Alexandre Walter Pretyman <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I have a (weird) setup where my application is divided into 3 > projects: > GWT-Client (Java Project which contains the classes that will be > translated into javascript + the images) > GWT-RPC (Java Project which contains the RPC classes that are common > to both the client and the server) > GWT-Server (Dynamic Web Project which contains the server side > classes) > > Whenever I make changes to the GWT-Client or GWT-RPC projects, I do a > 'Project -> Clean', that first deletes all generated files from all > projects, and after that triggers a (custom) Project Builder in > Eclipse as an Ant build file, translating the Java in GWT-Client into > JavaScript. moving the result to my GWT-Server WebContent/ directory. > > So I launch the Eclipse embedded Tomcat on the GWT-Server project, and > launch the hosted mode with "-noserver -port 8080 gwt-server/ > RunClient.html" arguments and everything works fine. > > The translation into JavaScript is quite time consuming, so sometimes > I make minor changes to the GWT-Client project which I am able to > debug without having to translate and put the translated files in the > server side, but I am not sure this is healthy. I guess the generated > JavaScript files on the server need to be updated up to some point for > hosted mode to work, but does anyone knows up to what point? Or they > don't need to be updated at all? > > I know this is an odd scenario and I might not get any answers, but > still worth giving a shout out. > > Regards, > Alexandre Pretyman > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
