Re: [mevenide-user] Validation with struts

"Kropp, Henning" <hkropp-EQhb8Of9KEIPZh/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
well, one has to create the same folder structure under resource as 
under src .... that i did not come up with this.....

it works, its simple and its beautiful.

thx

Milos Kleint schrieb:
> it needs to go into resources, afaik src/main/resources. maven doesn't 
> copy anything from src/main/java into the war or elsewhere.
>
> Milos
>
> On Dec 8, 2007 11:36 AM, Kropp, Henning < hkropp-EQhb8Of9KEIPZh/[email protected] 
> <mailto:hkropp-EQhb8Of9KEIPZh/[email protected]>> wrote:
>
>     I put it under src/com/../Action.java .
>
>     Henning
>
>     Milos Kleint schrieb:
>     > where did zou put this validator.xml file?
>     >
>     > Milos
>     >
>     > On Dec 8, 2007 11:28 AM, Kropp, Henning < hkropp-EQhb8Of9KEIPZh/[email protected]
>     <mailto:hkropp-EQhb8Of9KEIPZh/[email protected]>
>     > <mailto:hkropp-EQhb8Of9KEIPZh/[email protected] <mailto:hkropp-EQhb8Of9KEIPZh/[email protected]>>>
>     wrote:
>     >
>     >     Hi,
>     >
>     >     I use Mevenide2 with Netbeans to write Struts Applications. To
>     >     validate
>     >     user input in Struts you can put a validator.xml file in the
>     classpath
>     >     of the Action to validate.
>     >
>     >     When deploying with Mevenide2 it ignores those xml files.
>     They are
>     >     not
>     >     copied with the compiled classes in to the targeted classpath. I
>     >     really
>     >     would like to have Mevenide2 to copy this xml files with the
>     classes
>     >     into the classpath, so I don't have to do by hand.
>     >
>     >     Why does Mevenide2 ignore those files and how to change? Can
>     this be
>     >     configured with Mevenide2 and if how?
>     >
>     >     Thanks in advanced and kind regards
>     >     Henning Kropp
>     >
>     >    
>     ---------------------------------------------------------------------
>     >     To unsubscribe from this list please visit:
>     >
>     >         http://xircles.codehaus.org/manage_email
>     >
>     >
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe from this list please visit:
>
>         http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.