kutzi
updated JENKINS-12331
Util.createSymlink() doesnt work as expected if symlink should be created in a different directory
Change By:
kutzi
(09/Sep/12 3:54 PM)
Description:
IfonewantstocreateasymlinkinanotherdirectorythisfailsasthelinkpointstothetargetPathintheotherdirectoryinsteadofthebasedirectory.E.g.Util.createSymlink(base,file,anotherDir/link,l);willcreatealinkinbase/anotherDir/link
pointing
tobase/anotherDir/fileinsteadofbase/file.TheJavadocofcreateSymlinkdoesntexplicitlyimplythatthisshouldwork,butontheotherhanditalsodoesntsaysthatitdoesnt...InthesamewayUtil.resolveSymlinkforanotherDir/linkreturnsfileinsteadofanotherDir/fileasonemightexpect-however,infacttheJavadocofresolveSymlinkdoesntsayanythingaboutwhatisreturned.SeealsothedisabledpartsofthetestSymlinkandtestIsSymlinkmethodsinUtilTest
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