Sorry it's giving you so much trouble.  I have used it on several
platforms and it seems to work.  I am using Maven 2.0.9, just out of
curiosity what version of Maven are you using?  "mvn -version"

Also, reading through your transcript I did notice one small
discrepancy, not sure if it matters, but it's worth looking into:

the mvn install:install-file command seems to work just fine for you -
and you followed the instructions perfectly -
"[EMAIL PROTECTED]:~/tmp$ mvn install:install-file -
DgroupId=com.totsp.gwt -DartifactId=maven-googlewebtoolkit2-archetype -
Dversion=1.0 -Dpackaging=maven-archetype -Dfile=maven-
googlewebtoolkit2-archetype-1.0.jar"

but, Maven itself is giving a slightly different instruction after it
can't find the artifact in the later commands:
"mvn install:install-file -DgroupId=com.totsp.gwt -DartifactId=maven-
googlewebtoolkit2-archetype -Dversion=1.0 -Dpackaging=jar -Dfile=/path/
to/file"

Note there that Maven is saying to use packaging JAR and I said (in
the directions) to use packaging MAVEN-ARCHETYPE.  Try the install
command again with packaging JAR and see if that works?

I will look into this more though, and add an issue to the tracker to
delete my repos and so on and try BOTH ways (profile with repo, and or
local install).

------

Also, as to where the GWT non Java files go, yes, you can put them in
src/main/resources and that is arguably a better place to put them
(that is where I put them in my projects).  The archetype though is
trying to keep things as simple as possible, and because GWT is sort
of special in regards to those "resources" sometimes people run into
other issues if they aren't in the src tree. Good catch on your part
to notice that, but the files can go in either place.




On Sep 26, 6:17 pm, Jeff Bowman <[EMAIL PROTECTED]> wrote:
> 1) I have tried to use the archetype but am failing. Regardless of
> having an active profile, it seems to always look inhttp://repo1.maven.org.
> I have provided a transcript athttp://www.bowmansarrow.uswhich shows
> me trying to install it from the jar (mvn install:install-file as
> specified in the README). If you could point out where I'm just not
> getting it I'd appreciate it.
>
> 2) I have been putting the public folder and the gwt.xml file in src/
> main/resources (ie src/main/resources/<package>/public/Application.
> (html|css) and src/main/resources/<package>/Application.gwt.xml) which
> is where I thought non-java code was going, but I notice (via jar -
> tf ...) the archetype puts those things in src/main/java. Am I doing
> it wrong?
>
> Finally, as noobish as I seem to be, I'm interested in helping out
> with the archetype if you want it or would find it useful.
>
> Thanks for an awesome tool!
--~--~---------~--~----~------------~-------~--~----~
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