Usage
Source code for this archetype is available from Mercurial repository:http://bitbucket.org/ajurzyk/gwt-app-archetype
If you have Mercurial in your system, you can clone whole repository:
or simply download latest snapshot of code in zip file.$ hg clone http://bitbucket.org/ajurzyk/gwt-app-archetype
Enter directory with downloaded sources and execute:
to install archetype in your local Maven repository.$ mvn install
After succesfull instalation, you can delete source files as their are no longer needed.
To generate GWT application use standard archetype:generate command:
$ mvn archetype:generate \ -DarchetypeGroupId=com.ajurzyk \ -DarchetypeArtifactId=gwt-app \ -DarchetypeVersion=1.0 \ -DgroupId=your.package.name \ -DartifactId=your.artifact.id
Enter created directory (your.artifact.id) and execute:
$ mvn gwt:run
For details about gwt-maven-plugin usage check http://mojo.codehaus.org/gwt-maven-plugin
No comments:
Post a Comment