You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Costin Caraivan <cc...@axway.com> on 2009/02/16 08:50:58 UTC

Recursive filter

Hello,

I'm trying to extract some files from a folder structure. However, this does
not work:
                    <resource>
                        <directory>${basedir}/src/main/java</directory>
                        <excludes>
                            <exclude>**/*.java</exclude>
                        </excludes>
                    </resource>

Basically, from a structure such as this:
com/file.g
 main/file.g
  my/whatever.java
  my/file.g
I want to make this:
com/file.g
 main/file.g
  my/file.g

Any other solutions? ant <copy> didn't seem to work either (or I don't know
how to make it work :) ).
-- 
View this message in context: http://www.nabble.com/Recursive-%3Cresource%3E-filter-tp22032880p22032880.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org