ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Was there a change to filelist in later version of Ant?
Date Thu, 10 Jan 2013 14:54:11 GMT
On 2013-01-10, Scot P. Floess wrote:

> I was curious if something changed in Ant 1.8.3 (could have been some
> earlier release but someone using my Ant scripts is on 1.8.3) where
> using a file list with child file elements is failing when one of the
> child file elements refers to a file that is non-existent.

I think it's copy that has changed:

<http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java?r1=718387&r2=786504>

for

<https://issues.apache.org/bugzilla/show_bug.cgi?id=47362>

You'll need to set failonerror to false or use a fileset (which will
swallow the non-existent files) rather than a filelist.

Stefan

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


Mime
View raw message