Change By: kutzi (09/Sep/12 3:54 PM)
Description: If one wants to create a symlink in another directory this fails as the link points to the targetPath in the other directory instead of the base directory.
E.g.
Util.createSymlink(base,"file","anotherDir/link",l);
will create a link in base/anotherDir/link
 pointing  to base/anotherDir/file instead of base/file.

The Javadoc of createSymlink doesn't explicitly imply that this should work, but on the other hand it also doesn't says that it doesn't ...

In the same way Util.resolveSymlink for anotherDir/link returns "file" instead of "anotherDir/file" as one might expect - however, in fact the Javadoc of resolveSymlink doesn't say anything about what is returned.

See also the disabled parts of the testSymlink and testIsSymlink methods in UtilTest
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to