You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2025/06/05 19:26:02 UTC
[Bug 66293] Ant doesn't detect windows junctions as symlinks
https://bz.apache.org/bugzilla/show_bug.cgi?id=66293
--- Comment #5 from Stefan Bodewig <bo...@apache.org> ---
I know it's been a while. Given that Windows supports symlinks by now and Ant
works for them, we probably don't want to treat junctions and symlinks the same
way.
If we wanted to do anything special for junctions we should probably add a
FileUtils.isWindowsJunction (names, you know) method and add new
followWindowsJunctions attributes where followSymlinks attribute live today. It
probably needs to default to true in order to remain backwards compatible.
As for the way how we detect junctions I'm pretty much on the fence. The linked
https://bugs.openjdk.org/browse/JDK-8031083 seems to indicate Alan Bateman of
the JDK team would recommend the isOther BasicFileAttributes approach together
with Os.isFamily("windows").
--
You are receiving this mail because:
You are the assignee for the bug.