ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Potential breaking change to symlink task [ was Re: Jenkins build became unstable: Ant-Build-Matrix-master-Linux » JDK 1.8 (latest) #977]
Date Tue, 12 Dec 2017 05:54:54 GMT
On 2017-12-12, Jaikiran Pai wrote:

> I went back and read up both these bugzilla reports again and I now
> realize that supporting one doesn't necessarily mean not supporting
> the other. BZ-43426 is about letting existing file be overwritten
> (irrespective of the type of the file) if the overwrite flag is
> true. BZ-58683 is about not overwriting any kind of file, if overwrite
> flag is false (before the changes I introduced, it was in fact
> overwriting files even when overwrite was false, a side-effect of the
> ln -s usage).

Great!

> So I have now pushed a fix[1] on top of my previous changes, which
> should accommodate both these use cases (and continue to use Java 7
> APIs for symlinking).

This is very useful, many thanks. We may want to modify the manual so it
becomes clear that overwrite will replace regular files as well.

Stefan

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


Mime
View raw message