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 41285] - delete and symlink tasks do not delete a symlink if its target does not exist
Date Fri, 05 Jan 2007 22:16:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41285>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41285





------- Additional Comments From peterreilly@apache.org  2007-01-05 14:16 -------
The reason for this (and a number of other
bugs with symbolic links) is that java
does not understand symbolic links (or rather
the symbolic link information is not given
to the java user).
See: 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4956115
(File.exists() reports false for symbolic links to nonexistent files)
state:   	 Closed, not a bug
And the evalulation:
"""This is not a bug.  In the absence of an API which exposes symbolic links in
all their glory we don't have any choice but to treat a dangling symbolic link
as a nonexistent file."""

There is a FRE http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4313887
(which closes 35 other bugs)
which asks talks about an extended api with support
for symbolic links - currently slated for java 1.7.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message