Google Groups : comp.lang.java.programmer.
Problem Scenario:
During ant <copy> task, certain sub-directory is to be excluded from the source directory.
Solution:
Supposed /gen sub-directory is to be excluded, an example is as follow:
<fileset dir="src/dao" excludes="**/gen/**" includes="**/*.xml"/>
/gen/** is used instead of /gen/* as sub-directories within /gen is represented as ** instead of *
0 Comments:
Post a Comment
<< Home