ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: fileset exclude a dir?
Date Wed, 28 May 2003 21:13:53 GMT

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message