Re: Struts 2 archetypes

2008-09-02 Thread Lukasz Lenart
> I updated the Starter archetype build to put LICENSE and NOTICE in the > jar. I'm planning to stage this for a vote later today or tomorrow. > > https://svn.apache.org/repos/asf/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-starter > > If you'd like to test it: > $ mvn archetype:gener

Re: Struts 2 archetypes

2008-08-31 Thread Wendy Smoak
On Sat, Aug 23, 2008 at 6:35 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Looking closer... the docs only explain how to use the _starter_ > archetype, not the blank one. So if the starter archetype is working, > let's release that so we can finally point users to a stable released > archetype.

Re: Struts 2 archetypes

2008-08-31 Thread Wendy Smoak
On Tue, Aug 26, 2008 at 1:08 PM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > I also prepared some example, you can try it with > mvn -U archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven > -U is needed to upgrade to the latest maven-archetype-plugin (where > you have generate goal

Re: Struts 2 archetypes

2008-08-26 Thread Lukasz Lenart
Hi, I also prepared some example, you can try it with mvn -U archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven -U is needed to upgrade to the latest maven-archetype-plugin (where you have generate goal) I don't know if I should follow with my work as Wendy did it already? ;-)

Re: Struts 2 archetypes

2008-08-23 Thread Wendy Smoak
On Sat, Aug 23, 2008 at 5:03 PM, Jeromy Evans <[EMAIL PROTECTED]> > However, there is an additional problem that the applications do not support > the groupId completely. > > The classes are generated in "net/wsmoak/example" but: > struts.xml references class="example.HelloWorld"; and > HelloWorl

Re: Struts 2 archetypes

2008-08-23 Thread Jeromy Evans
Thanks Wendy! I followed your instructions precisely and encountered the same error. However I deployed to Tomcat 5.5 and it worked without any problems. Jetty was indeed picking up the wrong servlet-api.jar I fixed it by removing the geronimo-j2ee_1.4_spec dependency from the maven-jetty-pl

Re: Struts 2 archetypes

2008-08-23 Thread Wes Wannemacher
Wendy, I'm not sure if it's the problem, as I don't have much time to look (high school football game in a little bit), but your classes are `package example' but, the directory is net.wsmoak.example -Wes On Sat, 2008-08-23 at 10:22 -0700, Wendy Smoak wrote: > Our user docs point to snapshots o

Re: Struts 2 archetypes

2008-08-23 Thread Nils-Helge Garli Hegvik
I'm guessing you have conflicting versions of the servlet api on the classpath. Try with debug logging enabled and take a look at the dependencies that are loaded. Nils-H On Sat, Aug 23, 2008 at 7:22 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Our user docs point to snapshots of the archetypes,

Struts 2 archetypes

2008-08-23 Thread Wendy Smoak
Our user docs point to snapshots of the archetypes, which is not ideal. Especially since old snapshots were removed recently by infra to free up disk space, and the commands in the docs no longer work. I've branched the blank and starter archetypes [1], updated them to version 2.0.11.2-SNAPSHOT,