ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <>
Subject Re: svn commit: r693071 - in /ant/core/trunk:
Date Wed, 10 Sep 2008 04:43:07 GMT

>> URL:
>> 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.

This is wrong it should at least report something.

> 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.

I think the change should be documented as it is different from past
behaviour - even if in the past it was buggy behaviour


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message