Created
April 22, 2012 14:34
-
-
Save skhatri/2464375 to your computer and use it in GitHub Desktop.
Running GWT + Spring app in hosted mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**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); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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