ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: at my wits end with delete
Date Fri, 09 Feb 2007 22:50:22 GMT
> ${directories} is OS-4000-1.6(B18)Beta/** OTS-SC-1.6(B18)Beta/**
> OTS-4010-1.6(B17)Beta/** OTS-4040-1.6(B17)Beta/**
> ...
> <delete includeemptydirs="true" >
>   <fileset dir="${installation.dir}" casesensitive="yes">
>     <exclude name="${directories}"/>
>      <include name="*/**"/>
>    </fileset>
> </delete>

It's a classic error Tracy.

<exclude name=""> takes a *single* pattern, not a list of patterns.
It's the excludes attribute of fileset that takes a list of patterns,
and then I've always used a comma-separated list (although space
separated may work...). --DD

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


Mime
View raw message