[ http://jira.codehaus.org/browse/MNG-1470?page=all ]
     
Jason van Zyl closed MNG-1470:
------------------------------

    Resolution: Fixed

Patch applied.

> mvn can't calculate M2_HOME when mvn is a relative symlink
> ----------------------------------------------------------
>
>          Key: MNG-1470
>          URL: http://jira.codehaus.org/browse/MNG-1470
>      Project: Maven 2
>         Type: Bug
>   Components: bootstrap
>     Versions: 2.0
>  Environment: Debian GNU/Linux - bash 3.0-17
>     Reporter: Nicolás Lichtmaier
>  Attachments: patch
>
>
> There seems to be a typo in the "mvn" script!
> Steps to reproduce:
> [ untar maven and move it to /usr/local/maven ]
> $ cd /usr/local/bin
> $ ln -sf ../maven/bin/mvn .
> $ mvn
> /usr/local/bin/mvn: line 75: cd: ../maven/bin/..: No existe el fichero o el 
> directorio
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/codehaus/classworlds/Launcher
> It's a very simple fix. When traversing synlinks to get the canonical 
> pathname, mvn should treat relative references by appending them to 
> "dirname", no the other way around!
> A patch is attached.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to