Hi Kristian,

There is another maven2 gwt-plugin, this one coming from the Google camp:
http://code.google.com/p/gwt-maven/
Any ideas for avoiding the double effort?

Also, are there any plans to have this plugin added to mojo sandbox?

---
I have also cross-posted a similar message to the Google-groups:
http://groups.google.com/group/gwt-maven/browse_thread/thread/7d3f75a74bf48701/189b8e4a4ab8890e?lnk=st&q=gwt-maven&rnum=9#189b8e4a4ab8890e

Regards,
 Kostis


On 1/31/07, kristian <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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



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

   http://xircles.codehaus.org/manage_email

Reply via email to