ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Sadangi <msada...@manh.com>
Subject fileset exclude a dir?
Date Wed, 28 May 2003 20:55:13 GMT
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

Mime
View raw message