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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to