You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/12/27 01:14:09 UTC

[jira] Closed: (MNG-2701) FileSetUtilsTest.operatingSystemAllowsLinking fails on windows

     [ http://jira.codehaus.org/browse/MNG-2701?page=all ]

Brett Porter closed MNG-2701.
-----------------------------

      Assignee: Brett Porter
    Resolution: Fixed

applied, thanks.

The 'family' John might have been looking for would have been Os.isFamily( ... ) which uses the os.name system property to derive it, I think.

> FileSetUtilsTest.operatingSystemAllowsLinking fails on windows
> --------------------------------------------------------------
>
>                 Key: MNG-2701
>                 URL: http://jira.codehaus.org/browse/MNG-2701
>             Project: Maven 2
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Baerrach bonDierne
>         Assigned To: Brett Porter
>         Attachments: MNG-2701.txt
>
>
> operatingSystemAllowsLinking is using the system property "os.family".
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html does not defined "os.family".
> There appears to be no easy way to determine if sym links are supported and Java doesn't seem to care.
> patched unit test to attempt to invoke sym link command and assume that a failed sym link command is because the system does not support "ln" rather than the command failed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira