ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: Question about Copy task with empty PatternSet
Date Thu, 15 May 2014 03:04:47 GMT
Hi,

you can try this  (untested):

> <PatternSet id="other-jars">
>    <include name="abc*.jar" if="support.abc”/>
      <exclude name=“**/*” unless=“support.abc”/>
> </PatternSet>

The idea is to add an exclude element which fill fire only if support.abc is not set.

Regards,

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


Mime
View raw message