ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Pearlman Spencer" <Alan.PearlmanSpen...@Mobileaware.com>
Subject How do I get a fileset to include only directories?
Date Wed, 14 Nov 2001 13:31:07 GMT
Hi I'm trying to search for a file in a dir tree.
I'm using:
    <available resource="properties.sample" type="file"
property="found">
      <classpath>
      <pathelement path="x${build.props.dir}"/>
      <fileset dir="${build.root}">
        <include name="**"/>
        <exclude name="**/*.*"/>
       </fileset>
    </classpath>
  </available>

The pathelement works, but I can't get the fileset to include all dirs
in the tree...
Any ideas?
Thanks,
Alan.
		Alan Pearlman-Spencer
		MobileAware Ltd.
		3225 Lake Drive, 
		National Digital Park, 
		CityWest Business Campus, 
		Dublin 24. 
		Ireland. 
		Phone: +353 (0)1 2410 500 
		Fax: +353 (0)1 2410 501 



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message