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 22632] - Delete follows symbolic links to directories
Date Fri, 22 Aug 2003 16:25: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=22632>.
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=22632

Delete follows symbolic links to directories

brian.compton@wmg.com changed:

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



------- Additional Comments From brian.compton@wmg.com  2003-08-22 16:25 -------
I have already tried your suggested solution, and many others, but have not 
come up with any solution which does what I want. 
Using 'followsymlinks="false"' as an attribute of delete or as an attribute of 
a nested fileset does prevent the files in the symbollically linked directory 
from being deleted, however the symbolic link itself is not deleted and hence 
the directory does not get deleted.

I was expecting and need functionality similar to "rm -rf DIRNAME" which does 
not follow symbolic links, but does delete them. I have not been able to figure 
out any way to do this with the built-in tasks.

I also wanted to mention that it does seem like followsymlinks='false' should 
be the default for the delete task. I work with several other developers who 
have been using ANT for a while, and not one knew about this. If the default 
cannot be changed, then a huge warning should be placed in the doc for the 
delete task.

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


Mime
View raw message