On Mon, 08 Sep 2008, <[EMAIL PROTECTED]> wrote:

> URL: http://svn.apache.org/viewvc?rev=693071&view=rev
> Log:
> delete broken symbolic links.  PR 41285

Note there is a certain kind of not-being-BWC in this change.  Prior
to the patch if you said

<delete file="foo"/>

and foo happened to be a symbolic link pointing nowhere, Ant would
not delete anything (and just note that there was no such file in
verbose mode).

<delete dir="foo"/> would even silently ignore it.

Now, not only will <delete> try to delete the link it may also fail
the delete task if File.delete() returns false on the link.

Should we document this more prominently (to me, this is the
behaviour one would actually expect)?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to