logo       

Re: gwt-maven-plugin - revisited: msg#00356

java.maven-plugins.mojo.devel

Subject: Re: gwt-maven-plugin - revisited

hallo Matthew,

here are a few words about the archetypes. maybe you have to adjust
the version to what you got from the svn. I do appreciate comments on
them.

gwt-simple-archetype
===============

this creates something similar to the GWT-tool 'applicationCreator',
but in a mavenized way.
the created pom.xml has the gwt-plugin, maven-jetty-plugin and the
maven-war-plugin configured. so mvn jetty:run starts an embedded
servlet container and mvn package will pack a ready to deploy
war-file.

mvn archetype:create \
-DgroupId=sample.group.id \
-DartifactId=simple-artifact-id \
-Dversion=1.0-SNAPSHOT \
-DpackageName=sample.group.id \
-DarchetypeGroupId=de.saumya.mojo \
-DarchetypeArtifactId=gwt-simple-archetype \
-DarchetypeVersion=1.4-SNAPSHOT

gwt-module-archetype
================

that just setups a frame for GWT library, i.e. the GWT-module has no
EntryPoint and the
pom.xml is configured to attach the sources on the install goal

mvn archetype:create \
-DgroupId=sample.group.id \
-DartifactId=module-artifact-id \
-Dversion=1.0-SNAPSHOT \
-DpackageName=sample.group.id \
-DarchetypeGroupId=de.saumya.mojo \
-DarchetypeArtifactId=gwt-module-archetype \
-DarchetypeVersion=1.4-SNAPSHOT

gwt-archetype
==========

this is an extension to the gwt-simple-archetype which included an
remote-service and its servlet in the sample application. again mvn
jetty:run starts the embedded servlet container with the application
and mvn package does pack the war-file.

mvn archetype:create \
-DgroupId=sample.group.id \
-DartifactId=artifact-id \
-Dversion=1.0-SNAPSHOT \
-DpackageName=sample.group.id \
-DarchetypeGroupId=de.saumya.mojo \
-DarchetypeArtifactId=gwt-archetype \
-DarchetypeVersion=1.4-SNAPSHOT

hope that clarifies a bit.

Kristian

On 1/31/07, J. Matthew Pryor <jmp@xxxxxxxxxxxxxxxx> wrote:
kristian,

Can you please explain a little more what the archetypes do and why
they are different?

Thanks,
Matthew

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




--
Kristian Meier & Saumya Sharma-Meier
Sahyadri School (Krishnamurti Foundation India),
Tiwai Hill,
Rajgurunagar, Pune-410513
Maharashtra, INDIA

tel: +91 (2135) 321313
pgp: http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x61DB690F
my home:
http://maps.google.com/maps?hl=en&ie=UTF8&z=18&ll=18.984342,73.772416&spn=0.00209,0.004731&t=k&om=1&mid=1156683744

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise