Thanks.

Just as a follow up, I also updated the docs yesterday after this
thread.  It's basically the same info as the archetype README, but,
it's now in the real docs too.

http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/archetype.html


On Sep 16, 8:20 pm, "John Kroubalkian" <[EMAIL PROTECTED]> wrote:
> 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-arc...
>
> > RELEASE/REPO:
> >http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/com/totsp/gwt/mav...
>
> > USAGE:
>
> >http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-arc...
>
> > "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/mav...
>
> >  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