Brilliant!  Great work!

On Tue, Sep 16, 2008 at 6:13 AM, Charlie Collins
<[EMAIL PROTECTED]>wrote:

>
> So it took a while, but we have an "official" archetype now ;).
> (There have been a a few other very useful ones contributed by users,
> but never one in our source control that we release in our repo - now
> we finally have one.)
>
> SRC:
> http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-archetype/
>
> RELEASE/REPO:
> http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/com/totsp/gwt/maven-googlewebtoolkit2-archetype/
>
> USAGE:
>
> http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-archetype/README.txt
>
>
> "GWT-Maven Archetype Info/Usage
> ===============================
>
> Creates a bare bones GWT app with all the GWT-Maven
> setup and structure in place (a template).
>
>
> 1. Installing the archetype
> ---------------------------
>
> You have several choices on how to install the archetype, you
> can just add the GWT-Maven repository to an active profile
> and then use the archetype (it's in the GWT-Maven repo),
> or you can download the file and install it in your local repository.
>
> Example add the GWT-Maven repository to a profile in your ~/.m2/
> settings.xml file:
>
> <settings>
>  ...
>  <profiles>
>    ...
>    <profile>
>      <id>gwt-maven-repo-profile</id>
>      <repositories>
>        <repository>
>            <id>gwt-maven</id>
>            <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</
> url>
>        </repository>
>      </repositories>
>    </profile>
>    ...
>  </profiles>
>  ...
>  <activeProfiles>
>    ...
>    <activeProfile>gwt-maven-repo-profile</activeProfile>
>    ...
>  </activeProfiles>
>  ...
> </settings>
>
>
> Example download the file and install it:
>
> Download the file from:
>
> http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/com/totsp/gwt/maven-googlewebtoolkit2-archetype/VERSION/maven-googlewebtoolkit2-archetype-VERSION.jar
>
>  mvn install:install-file \
>   -DgroupId=com.totsp.gwt \
>   -DartifactId=maven-googlewebtoolkit2-archetype \
>   -Dversion=VERSION \
>   -Dpackaging=maven-archetype
>   -Dfile=PATH_TO_JAR_YOU_DOWNLOADED/maven-googlewebtoolkit2-archetype-
> VERSION.jar
>
>
> 2.  Using the archetype
> -------------------------
>
>  mvn archetype:create \
>   -DarchetypeGroupId=com.totsp.gwt \
>   -DarchetypeArtifactId=maven-googlewebtoolkit2-archetype \
>   -DarchetypeVersion=1.0 \
>   -DgroupId=myGroupId \
>   -DartifactId=myArtifactId
> "
>
>
> I will get the README info added to the regular docs in the next
> release.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to