[S2] Maven2 and validation.xml

2008-03-12 Thread Lukasz Lenart
Hi,

I'm using maven2 to build my Struts2 application and how to solve the
problem with coping *-validation.xml files to target directory?

All my *-validation.xml files are next to action classes, in the same
package / directory (src/main/java/pl/org/lenart/s2) but they are no
copied in to target directory.
Yes, I can move them to resource

-- 

Lukasz

http://www.linkedin.com/in/lukaszlenart

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Maven2 and validation.xml

2008-03-12 Thread Nils-Helge Garli Hegvik
Resource files are supposed to be in the resources folder... Just put
them there with the same path as your java class, and everything
should be copied where it's supposed to. If that does not fit your
needs, and you have other Maven 2 questions, I suggest that you use
the Maven user list (http://maven.apache.org/mail-lists.html)

Nils-H

On Wed, Mar 12, 2008 at 4:22 PM, Lukasz Lenart
[EMAIL PROTECTED] wrote:
 Hi,

  I'm using maven2 to build my Struts2 application and how to solve the
  problem with coping *-validation.xml files to target directory?

  All my *-validation.xml files are next to action classes, in the same
  package / directory (src/main/java/pl/org/lenart/s2) but they are no
  copied in to target directory.
  Yes, I can move them to resource

  --

  Lukasz

  http://www.linkedin.com/in/lukaszlenart

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Maven2 and validation.xml

2008-03-12 Thread Lukasz Lenart
 Resource files are supposed to be in the resources folder... Just put
  them there with the same path as your java class, and everything
  should be copied where it's supposed to. If that does not fit your

Yes, I did that but I was wondering how it should be, the good
practice in case of Struts 2. I think, it should be added to
archetype:create to expose such practice.


Any way thanks and regards
--
Lukasz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]