ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: How do I get a fileset to include only directories?
Date Wed, 14 Nov 2001 22:43:16 GMT
On Thu, 15 Nov 2001 00:31, Alan Pearlman Spencer wrote:
> 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...

Unfortunately there is no way to create a fileset of dirs atm ;(

-- 
Cheers,

Pete

*-----------------------------------------------------*
| For those who refuse to understand, no explanation  |
| will ever suffice. For those who refuse to believe, |
| no evidence will ever suffice.                      |
*-----------------------------------------------------*

--
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