You almost have it. Use....
<exclude name="**/test/**"/>
Jake
At 04:55 PM 5/28/2003 -0400, you wrote:
>I am trying to copy a dir and don't want the test dir
>the dir structure is
>a/b/test/
>a/b/c/test/
>a/d/e/f/test/
>How can I achieve this.
>I was trying this but without success
>
><copy todir="${myDir}">
> <fileset dir="${classdir}">
> <patternset id="notestdir">
> <include name="**/*.class"/>
> <exclude name="*/test/*"/>
> </patternset>
> </fileset>
> </copy>
>
>thanks,
>manoj
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
|