Hi, I did a first try to support symbolic links when using tarTree() for untar. https://github.com/gradle/gradle/pull/182 For the other way round, I realized that there are some bits missing, to implement support for symbolic links with the Tar task type. The interface Symlink https://github.com/gradle/gradle/blob/master/subprojects/native/src/main/java/org/gradle/internal/nativeplatform/filesystem/Symlink.java needs two more functions public boolean isSymlink(File linkCandidate); public RelativePath symlinkTarget(File link);
Determining whether it is a symbolic link could be achieved with pure java code as the ANT class SymbolicLinkUtils does it, but it could be much faster using native tools. But to query the target relative path , I don't know whether this can be done in java? I'd need someone to implement the native part. Is there someone willing? Is this something that will go into gradle? Best regards, Harald --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email