I have searched for instructions on how to do this and I have not found a good complete source. Here is what I have found myself. I would like people in the know to confirm what I have found so far and I also have some questions/problems:
- STS 2.8.1 comes with Roo 1.1.5 (that is well documented)
- Roo 1.1.5 supports gwt 2.3.0. Now this is a highly undocumented thing and I had to go into the GWT roo addon jar to locate a configuration.xml file with this information. It would be very useful for the roo release notes and the roo reference documentation to say this.
- STS 2.8.1 installs GWT 2.4.0 when you install the Google Eclipse Plugin from the Dashboard extension tab. This cause a problem when trying to run a roo+gwt application. I had to install the GWT 2.3.0 SDK and make it the default SDK in the Google Web Toolkit preferences and only then was I able to compile.
- When roo finishes running the gwt setup command, the "Use Google Web Toolkit" check box in settings must be unchecked then rechecked for an error about the GWT settings to disappear
- When performing the previous step, there are two SDK configured: the Maven configured (by Roo) GWT SDK and the Google Plugin for Eclipse configured GWT SDK.
- I can run the roo+gwt application in the Google Plugin Development Mode by right mouse clicking the project and selecting the run as Web application (with the blue Google icon). This will however only appear if the GWT is properly configured.
Here is all I have found so far. However, I have some questions problems
- Was roo+gwt designed to run within the Google Plugin for Eclipse? It appears not and could it be?
- Are there instructions to run a roo+gwt application inside the Google Plugin for Eclipse and if so where are they?
- Is there a way to run the Roo+GWT application inside the tc Server Developer Edition v2.6? I tried adding the target/app-0.1.0.BUILD-SNAPSHOT directory to the deployment assembly with little luck.
- What is the correct resolution of the duplicate GWT libraries (maven and Google Plugin for Eclipse)? This is an issue because Eclipse complains that the GWT container is not in the exported classpath to the server yet they will be in the MAVEN container.
Can someone shed some light (and a Springsource blog entry on this topic is good but it gets out of date so quickly) and could this be added as a truly supported option? When one is using "la creme de la creme" of IDE such as STS there has to be an easier way to run a Roo+GWT application than to follow the Roo reference instructions and start a maven shell to invoke the gwt:run target.