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 17:10:56 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

antoine@apache.org changed:

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



------- Additional Comments From antoine@apache.org  2003-08-22 17:10 -------
this works for me :
<project name="delete">
  <mkdir dir="alpha/beta"/>
  <symlink link="alpha/epsilon" resource="beta"/>
  <touch file="alpha/epsilon/epsilon.xml"/>
  <touch file="alpha/alpha.xml"/>
  <delete>
    <fileset dir="alpha" followsymlinks="false">
      <include name="epsilon/**"/>
    </fileset>
  </delete>
</project>

ls -ltrR alpha
alpha:
total 4
lrwxrwxrwx   1 antoine  antoine        4 Aug 22 10:06 epsilon -> beta
drwxrwxr-x   2 antoine  antoine      512 Aug 22 10:06 beta
-rw-rw-r--   1 antoine  antoine        0 Aug 22 10:06 alpha.xml

alpha/beta:
total 0
-rw-rw-r--   1 antoine  antoine        0 Aug 22 10:06 epsilon.xml
I am closing this again as WORKSFORME.

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


Mime
View raw message