GitHub user jaikiran opened a pull request:
https://github.com/apache/ant/pull/49
[master branch] - Fix BZ-58683
The commit here fixes the issue reported at
https://bz.apache.org/bugzilla/show_bug.cgi?id=58683.
This commit along with fixing the issue reported in that bug, also has
updated the `Symlink` task to now start relying on the Java 7 support of
symlinking through the use of `java.nio.file.Files` APIs. This now allows the
task to move away from spawning process(es) for dealing with symlinks and also
allows this task to be functional on non-unix systems which support symbolic
links.
P.S: For 1.9.x branch, I can create a separate commit, without using Java 7
APIs to fix this bug, if we do want to do that there. Let me know.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaikiran/ant bz-58683-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ant/pull/49.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #49
----
commit 95b38bb8800f7608d8ee94866a0c9c532b06a498
Author: Jaikiran Pai <[email protected]>
Date: 2017-12-09T07:32:56Z
BZ-58683 Honour the overwrite=false for existing symlinks. Plus, use Java 7
java.nio.file.Files support for symbolinks, in symlink task
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]