We are looking into it, did you get it to work properly?
We got to a point where our app is launching together with JRebel but the changes are not reloaded for some reason.
We got to the point where JRebel is working nicely on our SGWT app. The changes on the client side code are reloaded instantly and the effect of the code change is noticeable in the application.
Sure, it is actually quite simple. We are using Eclipse as IDE but I'm sure the process will be quite similar with other supported IDE's.
1) Install the JRebel IDE plugin (use the marketplace and install from there for Juno or use the update site for older eclipse versions (http://zeroturnaround.com/update-site/))
2) Configure your JRebel (trial) license (config center launches after mandatory eclipse restart)
3) Add the JRebel nature to your eclipse project containing the SGWT source (right click on the project, go to the JRebel sub menu and select 'add JRebel nature').
4) Make sure that 'Auto generate rebel.xml' is checked, this will create the configuration file for your project's classes automatically
5) Go to the run/debug configuration you use to start the web application and navigate to the JRebel tab, check the box to enable JRebel support
5) Male sure the 'GWT Plugin' is enabled in the plug-in section of the JRebel Config centre
6) Start your application, you will see logging in the console displaying JRebel version and some additional information.
From now on you can change client side code and have it loaded on the fly, depending on the change you might need to re-open the canvas/panel in your app to have the changes take effect - this is not the case for all changes some of them are noticed directly. You will see in the Eclipse console log messages of the classes being reloaded.
More info can be found here: http://zeroturnaround.com/software/jrebel/eclipse-jrebel-tutorial and/or here: http://zeroturnaround.com/software/jrebel/eclipse-eval/ .
Comment