ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32912] - copy should support filelists
Date Tue, 04 Jan 2005 16:34:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32912>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32912





------- Additional Comments From ant@kruithof.xs4all.nl  2005-01-04 17:34 -------
current behaviour of tasks using the filelist for non-existent files:

Concat: Log an error but contine
DependSet: Log an warning and continue
ExecuteOn: Pass on the missing file to the command
PathConvert: just described above
SubAnt -> Path: Log a warning and continue or throw an exception dependent on
parameter.
Touch: Create the file if it does not exist.

As copy already has the fail on error i'd say follow the SubAnt behaviour: Log a
warning and continue or throw an exception dependent on the failonerror parameter.

It doesn't seem to be straightforward to extend FileList in such a way that it
would fail / create file / remove from list / pass-on the non-existent files in
both a backward compatible and consistent way.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message