This should work:
<resource>
<directory>webapp</directory>
<excludes>
<exclude>*</exclude>
</excludes>
<includes>
<include>*/tiles/**</include>
</includes>
</resource>
-Tim
Kram schrieb:
Hi guys, a simple on here. I do have another thread that was similar to this,
but it was getting off topic and cluttered.
Does anyone know how to copy many similar resources using the war plug-in,
like so:
if my dir structure is like this:
/webApp/admin/tiles/some JSP files
/webApp/other/tiles/some JSP files
/webApp/more/tiles/some JSP files
...
...
and so on for quite a lot of directories.
What I would like to do is to do something like this:
<resource>
<directory>webApp/*/tiles</directory>
<targetPath>*/tiles</targetPath>
</resource>
(i know that doesnt work)
but you get what im saying?? Im trying to put all the JSP's into the root
deployment directory, but still under their respective parent folders
so I would end up with this:
/admin/tiles/some JSP files
/other/tiles/some JSP files
/more/tiles/some JSP files
in the target directory
Can it be done? Or do I have to specify each, one by one?
Thanks heaps!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]