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 15031] - ANT <copy> with <fileset> does not spot bad symlinks
Date Wed, 23 Jul 2003 23:05:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15031

ANT <copy> with <fileset> does not spot bad symlinks





------- Additional Comments From john.lonergan@ubsw.com  2003-07-23 23:05 -------
Surely we don't need to do much more than  call File.exists() and if it returns 
false then abort with an error ?

Doing this explicitely is much cleared than trying to infer a problem by 
looking out for zero returned from lastModified(). 

I still think the tag needs to error check the return value from lastModified() 
but I think the code should explicitely check File.exists() and File.readable()

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


Mime
View raw message