Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
at my wits end with delete

at my wits end with delete

2007-02-09       - By Dominique Devienne
Reply:     1     2     3     4     5     6     7     8     9  

> ${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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.