Re: S2 as JSR for Action Framework

2008-08-23 Thread Ian Roughley
I've also been thinking along these lines, starting about a year back when there was discussions around the convention plug-in. Although it was motivated more on a clean annotation implementation - as there seemed to be a good synergy between the JSR-311 annotations and what s2 could leverage

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,

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,

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

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

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 HelloWorld.java

Re: S2 as JSR for Action Framework

2008-08-23 Thread Frans Thamura
On Sat, Aug 23, 2008 at 9:04 PM, Ian Roughley [EMAIL PROTECTED] wrote: I've also been thinking along these lines, starting about a year back when there was discussions around the convention plug-in. Although it was motivated more on a clean annotation implementation - as there seemed to be a