Re: Archetype

2020-05-28 Thread Zahid Rahman
I remember the archetype generated a class with values YES NO like so. I remembered the author I think it was Ted Husted. public enum Answer { YES, NO; } On Thu, 28 May 2020 at 19:21, Dave Newton wrote: > It contains an enum? That's not much to go on--there are som

Re: Archetype

2020-05-28 Thread Dave Newton
It contains an enum? That's not much to go on--there are some jQuery archetypes for the jQuery plugin. On Thu, May 28, 2020 at 1:49 PM Zahid Rahman wrote: > Hi, > > I came across an archetype which has an enum class. It was designed by some > one who has written a book on stru

Archetype

2020-05-28 Thread Zahid Rahman
Hi, I came across an archetype which has an enum class. It was designed by some one who has written a book on struts. Sorry I'm not good with names. If you know the archetype I mean please give me the link to it. I don't think it is one of these. https://struts.apache.org/maven-archetypes/

Re: Issue adding filter to struts2-archetype-starter project

2020-05-09 Thread James Chaplin
Hello Jonathan. As the other replies have pointed out, your code is using/extending "import java.nio.file.DirectoryStream.Filter;". That is an import for a file directory filter, and not a servlet filter. You will want to replace the old import statement with "import javax.servlet.F

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread M Huzaifah
Eyou should use interface Filter in servlet package. Not from nio package On Tue, May 5, 2020, 22:40 Dave Newton wrote: > `import java.nio.file.DirectoryStream.Filter` is not a servlet filter. > > Dave >

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread Dave Newton
`import java.nio.file.DirectoryStream.Filter` is not a servlet filter. Dave

Re: Issue adding filter to struts2-archetype-starter project

2020-05-04 Thread Lukasz Lenart
Do you see any errors while you starting Tomcat? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache

Issue adding filter to struts2-archetype-starter project

2020-05-04 Thread Jonathan Hill
Hello, In order to study/practice using struts 2, I am using a the struts2-archetype-starter maven archetype. I've come across a problem trying to add my own filter, and was hoping someone could point me in the right direction. I'm using eclipse with maven for my build process,

Re: Error in struts2-archetype-starter

2013-10-11 Thread Antonio Sánchez
El 11/10/2013 12:33 a.m., Lukasz Lenart escribió: And you can start working on that issue [2] which contains link to Wiki page with example CRUD app - O was planning add it as a part of Struts distribution. Started. Please check comments in issue. ---

Re: Error in struts2-archetype-starter

2013-10-10 Thread Lukasz Lenart
2013/10/10 Antonio Sánchez : > Done. Thanks! > I'm having problems with some other archetypes. I'll probable be reporting > about that. > > Also, I'm missing a full CRUD archetype, actually a family of > CRUD+Spring/Guice+JPA/MyBatis... archetypes. If I get s

Re: Error in struts2-archetype-starter

2013-10-10 Thread Antonio Sánchez
Done. I'm having problems with some other archetypes. I'll probable be reporting about that. Also, I'm missing a full CRUD archetype, actually a family of CRUD+Spring/Guice+JPA/MyBatis... archetypes. If I get support and guidances I can help with that. Thanks. El Jueves, 1

Re: Error in struts2-archetype-starter

2013-10-10 Thread Lukasz Lenart
2013/10/10 Antonio Sánchez : > I've selected it in the struts maven catalog: > > mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ > > It seems using the catalog the replacement is not performed. Please create an issue for that, thanks in advance! Regards -- Łukasz + 48 606 32

Re: Error in struts2-archetype-starter

2013-10-10 Thread Antonio Sánchez
I've selected it in the struts maven catalog: mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ It seems using the catalog the replacement is not performed. El Jueves, 10 de Octubre de 2013 12:10:15 a.m., Lukasz Lenart escribió: How did you use that archetype?

Re: Error in struts2-archetype-starter

2013-10-09 Thread Lukasz Lenart
How did you use that archetype? mvn archetype:generate -DarchetypeCatalog=http://struts.apcahe.org/ ? And then ${package} should be replaced with package name you have defined. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

Error in struts2-archetype-starter

2013-10-09 Thread Antonio Sánchez
I'm using Netbenas and Tomcat. Trying to run, browser displays: Unable to instantiate Action, ${package}.IndexAction, defined for 'index' in namespace '/'${package}.IndexAction Root cause: java.lang.ClassNotFoundException: ${package}.IndexAction in struts.xml: /jsp/in

Re: Trouble getting Archetype based project working

2013-09-11 Thread Lukasz Lenart
The README is a bit outdated (please register an issue), you can simple run: mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ and select archetype from the list, I'm using it all the time (but with IDEA so I don't have a problems with Maven based projects) Regards

Trouble getting Archetype based project working

2013-09-11 Thread Christoph Nenning
Dear List, today I had some trouble getting a new project working based on a maven archetype. I must admit that I don't have much maven experience, so some of this may be n00b supidity. I'm posting this anyway in the hope that it helps others. It may be even worth to put parts of t

Re: Blank Archetype i18n fails

2013-06-21 Thread Lukasz Lenart
2013/6/21 Antonio Sánchez : > Also blank application example. > > My default locale is es_ES . Clicking on "English" still returns Spanish > text. Renaming package.properties to package_en.properties makes it work. > > I'm not sure if this is the right place to report documentation, tutorial, > ex

Blank Archetype i18n fails

2013-06-21 Thread Antonio Sánchez
Also blank application example. My default locale is es_ES . Clicking on "English" still returns Spanish text. Renaming package.properties to package_en.properties makes it work. I'm not sure if this is the right place to report documentation, tutorial, examples... issues. Please let me know.

Re: appengine in archetype

2012-12-08 Thread Lukasz Lenart
2012/12/5 ChadDavis : > I noticed, in the convention plugin maven archetype, an "appengine-web.xml" > file in the WEB-INF file. Does this do anything? Is it just there to > support deployment of the WAR into the google environment? Exactly. There is also dedicated Ini

Re: Maven archetype struts2-archetype-blank

2011-11-23 Thread Jeff Black
Lukasz -- I'm not a Maven guru but I found this blog post that "may" be helpful: http://intellectualcramps.wordpress.com/2011/04/15/maven-archetype-creation-tips/ Best, jb From: Łukasz Lenart To: Struts Users Mailing List Sent: Wednesd

Re: Maven archetype struts2-archetype-blank

2011-11-23 Thread Łukasz Lenart
2011/11/22 David F. Newman : > Interesting.  That worked.  I had tried 2.2.3 and 2.2.3.1 with the same > results.  I had not tried going back to earlier versions.  I'll stick with > that version for now. Ok, I solved that problem, but have one more. I would like to create archety

Re: Maven archetype struts2-archetype-blank

2011-11-22 Thread David F. Newman
explicitly specify -DarchetypeVersion (or at least I generally do). For 2.2.1 it works, for 2.2.3 the property isn't filled in. Dave On Mon, Nov 21, 2011 at 6:11 PM, David F. Newmanwrote: mvn archetype:generate \ -DarchetypeGroupId=org.apache.**struts \ -DarchetypeArtifactId=struts2-**

Re: Maven archetype struts2-archetype-blank

2011-11-21 Thread Łukasz Lenart
the struts2-archetype-blank maven archetype to > create a new project and it seems to generate a pom file that doesn't work > out of the box. > > I run: > > $ mvn archetype:generate \ > -DarchetypeGroupId=org.apache.struts \ > -DarchetypeArtifactId=struts2-archetype-blan

Re: Maven archetype struts2-archetype-blank

2011-11-21 Thread Dave Newton
archetypeGroupId=org.apache.**struts \ > -DarchetypeArtifactId=struts2-**archetype-blank >

Maven archetype struts2-archetype-blank

2011-11-21 Thread David F. Newman
Hi there, So I've been trying to use the struts2-archetype-blank maven archetype to create a new project and it seems to generate a pom file that doesn't work out of the box. I run: $ mvn archetype:generate \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2

jsp's outside WEB-INF in maven archetype?

2011-05-10 Thread Miguel
The other day I tried out a simple maven archetype (either struts2-archetype-starter or -convention, I don't recall). Anyway, it's one that comes configured with sitemesh. What stroke me as odd was that the sample jsp's were in the path src/webapp/jsp, and not inside WEB-INF. Isn&

Re: mvn archetype/starter project w/ Hibernate & Struts 2?

2009-06-05 Thread Wes Wannemacher
I think AppFuse has archetypes like that... http://www.appfuse.org -Wes On Fri, Jun 5, 2009 at 8:02 AM, Jim Collings wrote: > Anybody know of such a beast? > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For

mvn archetype/starter project w/ Hibernate & Struts 2?

2009-06-05 Thread Jim Collings
Anybody know of such a beast? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: New maven convention archetype

2009-04-09 Thread Lukasz Lenart
Ok, I made some minor tweaks and right now everything should be as expected, please test it. Then I will register new Task with Jira ;-) Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@str

Re: New maven convention archetype

2009-04-08 Thread Musachy Barroso
lol. I hadn't thought of that, no package, no subdir required, clever ;) musachy On Wed, Apr 8, 2009 at 11:16 AM, Lukasz Lenart wrote: > 2009/4/8 Musachy Barroso : >> no, that would just instruct convention to scan from that package >> down, what you need to do (I have no idea how archetypes wor

Re: New maven convention archetype

2009-04-08 Thread Lukasz Lenart
2009/4/8 Musachy Barroso : > no, that would just instruct convention to scan from that package > down, what you need to do (I have no idea how archetypes work), is to > get the package name, and substring from "actions.", replace "." by > "/" and that will be the path under WEB-INF/content. If you

Re: New maven convention archetype

2009-04-08 Thread Musachy Barroso
an't determine were to put the files at runtime, then you can either 1) don't let users pick the package, 2) use @Result annotations to indicate where the results are (kind of defeating the purpose of using Convention) musachy On Wed, Apr 8, 2009 at 10:24 AM, Lukasz Lenart wrote: > 200

Re: New maven convention archetype

2009-04-08 Thread Lukasz Lenart
2009/4/8 Musachy Barroso : > The archetype is generating the jsps in the wrong location, it is > missing the namespace in the patch. For example, if I enter > "actions.test" for the package, the jsp is generated as > WEB-INF/content/hello.jsp, it should be WEB-INF/content/tes

Re: New maven convention archetype

2009-04-08 Thread Musachy Barroso
The archetype is generating the jsps in the wrong location, it is missing the namespace in the patch. For example, if I enter "actions.test" for the package, the jsp is generated as WEB-INF/content/hello.jsp, it should be WEB-INF/content/test/hello.jsp musachy On Wed, Apr 8, 2009

New maven convention archetype

2009-04-08 Thread Lukasz Lenart
Hi, Could someone try to test a new archetype which base on Convention plugin and tell why it isn't working as expected? Index action is not mapped and I18N is missing (properties files are where they should be :-( ) mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/

Re: Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-24 Thread Lukasz Lenart
2009/3/24 Radoslav Krivak : > Thanks Lukasz. I was actually checking your catalog few days ago but it > wasn't there yet. I put it yesterday ;-) I've hope, I will be able to publish also conventionize version before Easter Regards -- Lukasz http://www.lenart.org.pl/ ---

Re: Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-24 Thread Radoslav Krivak
king your catalog few days ago but it wasn't there yet. Radoslav Krivak -- View this message in context: http://www.nabble.com/Where-is-Struts-2-Blank-Archetype-2.1.6---tp22635191p22685807.html Sent from the Struts - User mai

Re: Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-23 Thread Lukasz Lenart
Hi, I've just put the latest (unreleased version) here [1], you can use it with command: mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/ [1] http://www.lenart.org.pl/maven/ Regards -- Lukasz http://www.lenart.org.pl/ --

Re: Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-21 Thread Dave Newton
RadoK wrote: where can I download blank archetype for Struts v 2.1.6? It's in SVN [1]; I've had zero time to figure out how to put it somewhere for a vote so it can be released. Dave [1] (I think) http://svn.apache.org/viewvc/struts/maven/trunk/struts2-arche

Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-21 Thread RadoK
Hi, where can I download blank archetype for Struts v 2.1.6? Is there some spacial repository that I need to configure in maven other than http://people.apache.org/repo/m2-snapshot-repository ? When I run command from page http://cwiki.apache.org/confluence/display/WW/Struts+2+Blank+Archetype

Re: struts2-archetype-starter

2009-03-03 Thread Dave Newton
en't up to date. I still use them, then update the pom to pull down the later (2.1.6) version of struts. In fact, i just did that the other day to start working on the JQuery plugin that I am writing. Technically I've updated the blank archetype, but just haven't had the time to

Re: struts2-archetype-starter

2009-03-02 Thread Wes Wannemacher
On Monday 02 March 2009 14:00:04 ChadDavis wrote: > Is there one of these for 2.1 yet? When I follow the links I end up > at a 2.0.11 version. I'm just wondering if the docs are behind or > this just isn't available yet. > As far as I know, Chad, the archetypes aren't up to date. I still use the

struts2-archetype-starter

2009-03-02 Thread ChadDavis
Is there one of these for 2.1 yet? When I follow the links I end up at a 2.0.11 version. I'm just wondering if the docs are behind or this just isn't available yet. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org Fo

Re: Struts 2 Portlet Tutorials Archetype No Longer Available

2008-12-23 Thread Nils-Helge Garli Hegvik
There's an issues for this in the issue tracker: https://issues.apache.org/struts/browse/WW-2759 So until 2.1.3 is released, you have to check out and build the artifact yourself. The code is at http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-portlet/ Nils-H On Tue, D

Struts 2 Portlet Tutorials Archetype No Longer Available

2008-12-23 Thread Phillips, Bruce A
-tutorial.html Both tutorials require you to use maven to create the project using an archetype stored in struts2-archetype-portlet on repository http://people.apache.org/repo/m2-snapshot-repository. The maven archetype:create fails because the struts2-archetype-portlet is no longer on the

Re: Maven Archetype

2008-09-18 Thread Wendy Smoak
On Thu, Sep 18, 2008 at 4:29 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > The starter archetype for 2.0.11.2 is ... awaiting formal release to the > maven repository. It's done... http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-starter/2.0.11.2/ (And the

Re: Maven Archetype

2008-09-18 Thread Yanis Kekatos
Thanks Jeromy. It works. On Thu, Sep 18, 2008 at 2:29 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Yanis Kekatos wrote: >> >> HI all, >> I am trying to run the Struts Maven Archetype following the >> instructions of the page >> http://struts.apache.org/2.1

Re: Maven Archetype

2008-09-18 Thread Jeromy Evans
Yanis Kekatos wrote: HI all, I am trying to run the Struts Maven Archetype following the instructions of the page http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the following error. Any help on this? The starter archetype for 2.0.11.2 is here: http://people.apache.org

Re: Maven Archetype

2008-09-18 Thread Lukasz Lenart
But try only mvn archetype:generate with one of previous option Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven Archetype

2008-09-18 Thread Yanis Kekatos
Thanks Lukasz, I've tried each of the options you refer but the error remains. On Thu, Sep 18, 2008 at 1:58 PM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > All the SNAPSHOT archetypes were removed from Maven repo, you can try > add one of this option below > > -DarchetypeRepository=http://people.ap

Re: Maven Archetype

2008-09-18 Thread Lukasz Lenart
All the SNAPSHOT archetypes were removed from Maven repo, you can try add one of this option below -DarchetypeRepository=http://people.apache.org/repo/m2-snapshot-repository -DarchetypeCatalog=http://www.lenart.org.pl/maven Regards -- Lukasz http://www.lenart.org.pl/ -

Maven Archetype

2008-09-18 Thread Yanis Kekatos
HI all, I am trying to run the Struts Maven Archetype following the instructions of the page http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the following error. Any help on this? C:\dev\projects>mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGrou

Re: Maven struts2-archetype-starter error

2008-05-20 Thread maestro
I have been unable to continue with this until now. Funny thing is that it is now working. Perhaps a typo on my part? I did install m2eclipse and then I ran into the problem. Not sure that stopping my machine and starting it again would have an impact? Anyways thanks for your time and patience!

RE: Maven struts2-archetype-starter error

2008-05-12 Thread Allen, Daniel
May 10, 2008 8:42 PM To: Struts Users Mailing List Subject: Maven struts2-archetype-starter error Hi, I very new to Struts2 and Maven. I ran this command with version 2.0.9 on the 6th of May without a problem. mvn archetype:create -DgroupId=tutorial \ -

Re: Maven struts2-archetype-starter error

2008-05-12 Thread chenxy
hetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.5-SNAPSHOT -DremoteRepositories= http://people.apache.org/repo/m2-snapshot-repository [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: '

Maven struts2-archetype-starter error

2008-05-10 Thread maestro
\ -DarchetypeArtifactId=struts2-archetype-starter \ -DarchetypeVersion=2.0.5-SNAPSHOT \ -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository When I run it now I get an error. [INFO

Maven Struts 2 archetype not working

2008-04-24 Thread �rico
I'm trying to run the following command : mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-blank -DarchetypeVersion=2.0.9-SNAPSHOT -DremoteRepositories=http://people.apache.org/repo/m2-sna

Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7

2007-06-16 Thread Martin Gainty
e 16, 2007 8:49 PM Subject: Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7 I think I found the answer -- it had to do with where applicationContext.xml was. Since helloWorldAction is wired up through Spring, if Spring isn't working, then the app doesn't work. And

Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7

2007-06-16 Thread Richard Dominguez
. Richard --- Richard Dominguez <[EMAIL PROTECTED]> wrote: > I am trying to get started with Struts2 using Maven > archetypes, and have had trouble getting the .war > file > generated from struts2-archetype-starter to run > under > WebSphere 6.1.0.7 (the most recent version). When I

[S2] struts2-archetype-starter not working in WebSphere 6.1.0.7

2007-06-11 Thread Richard Dominguez
I am trying to get started with Struts2 using Maven archetypes, and have had trouble getting the .war file generated from struts2-archetype-starter to run under WebSphere 6.1.0.7 (the most recent version). When I navigate to the index.action, I get a 404 message: "Error 404: SRVE0190E: Fil

Struts 2 Maven Archetype problem

2007-04-14 Thread Andreas Røsdal
I used the Maven Archetype to create a new web application for Struts 2, as described here: http://struts.apache.org/2.x/docs/ready-set-go.html I ran: mvn archetype:create -DgroupId=tutorial \ -DartifactId=tutorial \ -DarchetypeGroupId

Re: Maven2 archetype or sample POM for Struts 1.x?

2007-01-24 Thread Wendy Smoak
On 1/23/07, Manos Batsis <[EMAIL PROTECTED]> wrote: Is there any M2 archetype or sample POM availabe for Struts 1.x webaps with webdoclet, nergefiles and all working? I'm trying to create a POM and extract an archetype from it, but sincde i got to various issues i finally wondere

Maven2 archetype or sample POM for Struts 1.x?

2007-01-23 Thread Manos Batsis
Hello, Is there any M2 archetype or sample POM availabe for Struts 1.x webaps with webdoclet, nergefiles and all working? I'm trying to create a POM and extract an archetype from it, but sincde i got to various issues i finally wondered whether a nice soul has already gone through

[s2] maven archetype + jasper plug-in

2006-11-21 Thread David Durham
A few questions all bundled into one e-mail. First, I'm attempting to use the jasper plug-in for struts 2, and have a maven archetype as my starting point. I uncommented these lines in my pom.xml: jasperreports jasperreports 1.2.1 I then fol

Re: [s2] maven archetype + jasper plug-in

2006-11-21 Thread David Durham
David Durham wrote: Now my log4j.xml (relevant entries only): But I don't get DEBUG messages from struts in catalina.out. I only see INFO messages. I do see DEBUG messages from my action classes. I haven't checked struts 2 source code to see if the

Re: [s2] mvn archetype

2006-11-17 Thread Martin Gainty
-- From: "Mark Menard" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, November 16, 2006 11:08 PM Subject: Re: [s2] mvn archetype > On 11/16/06 11:03 PM, "Wendy Smoak" <[EMAIL PROTECTED]> wrote: > >> On 11/16/06, Mark Menard

Re: [s2] mvn archetype

2006-11-16 Thread Wendy Smoak
On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=net.vitarara.dan -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.2-SNAPSHOT You also need -DremoteRepositorie

Re: [s2] mvn archetype

2006-11-16 Thread Mark Menard
On 11/16/06 11:03 PM, "Wendy Smoak" <[EMAIL PROTECTED]> wrote: > On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: > >> I've tried to set up a new project using the struts2 mvn archetype, but to >> no avail. > > What did you type? m

Re: [s2] mvn archetype

2006-11-16 Thread Wendy Smoak
On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: I've tried to set up a new project using the struts2 mvn archetype, but to no avail. What did you type? Where can I get the archetype file? I've downloaded and built the latest snapshot using svn and mvn. If you'v

[s2] mvn archetype

2006-11-16 Thread Mark Menard
I've tried to set up a new project using the struts2 mvn archetype, but to no avail. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to re