ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: excludesfile must exist?
Date Tue, 25 Jan 2005 13:54:04 GMT
On Tue, 25 Jan 2005, Erik Hatcher <erik@ehatchersolutions.com> wrote:
> On Jan 25, 2005, at 5:58 AM, Stefan Bodewig wrote:
>>
>> <delete>
>>   <fileset dir="extremely-important-files"
>>            includesfile="some-not-so-important-files"/>
>> </delete>
>>
>> If some-not-so-important-files isn't there, Ant will barf now.  I
>> guess most people prefer this over having Ant delete all files in
>> the extremely-important-files directory instead.
> 
> Yes, I agree with the current behavior for includesfiles,

Just modify my example above to

<delete>
  <fileset dir="mostly-boring-files"
           excludesfile="some-really-important-files"/>
</delete>

and you'd prefer Ant's current behavior as well.

8-)

Stefan

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


Mime
View raw message