Skip to content

Instantly share code, notes, and snippets.

@skhatri
Created April 22, 2012 14:34
Show Gist options
  • Save skhatri/2464375 to your computer and use it in GitHub Desktop.
Save skhatri/2464375 to your computer and use it in GitHub Desktop.
Running GWT + Spring app in hosted mode
/**Step 2**/
public class DevModeLauncher {
public static void main(String[] args) throws Exception {
String[] devArg = new String[]{
"-war",
"src/main/webapp",
"-startupUrl",
"ApplicationScaffold.html",
"com.mycompany.ApplicationScaffold"
};
com.google.gwt.dev.DevMode.main(devArg);
}
}
/**
* Step 1
* Ensure you create a separate launch file under java configuration to run
* com.google.web.bindery.requestfactory.apt.ValidationTool
* with two parameters
* parameter 1 - e.g. bin (classes directory for the project in Eclipse)
* parameter 2 - com.mycompany.client.managed.request.ApplicationRequestFactory
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment