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 13:21:24 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

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From conor@cortexebusiness.com.au  2003-07-23 13:21 -------
I'm not sure what we can do here. Java does not support symlinks. The methods
java.io.File.getAbsolutePath() and getCanonicalPath() return the same value for
the broken link - so the trick of detecting links from the difference between
these two is not available. Also, according to java.io.File the file does not exist.

BTW, for me Ant did not drop its pants on the explicit copy of the broken link.
I get
/tmp/bad.xml:12: Warning: Could not find file
/tmp/src_with_some_bad_links/badlink to copy.

Seems reasonable behaviour given the limitations above.

I'm going to mark this as WONTFIX meaning CANTFIX. Sorry.

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


Mime
View raw message