You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/10/20 10:50:11 UTC

[jira] Created: (MNG-1244) bin/m2 breaks with spaces in path

bin/m2 breaks with spaces in path
---------------------------------

         Key: MNG-1244
         URL: http://jira.codehaus.org/browse/MNG-1244
     Project: Maven 2
        Type: Bug
    Versions: 2.0    
 Environment: Windows XP, Cygwin
 Reporter: Mark Hobson
    Priority: Minor


The bin/m2 script breaks under cygwin if the m2 home has spaces in the path.  Quick fix:

25c25
< exec `dirname $0`/mvn $@
---
> exec "`dirname "$0"`/mvn" $@

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1244) bin/m2 breaks with spaces in path

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1244?page=all ]
     
Brett Porter closed MNG-1244:
-----------------------------

      Assign To: Brett Porter
     Resolution: Fixed
    Fix Version: 2.0.1

> bin/m2 breaks with spaces in path
> ---------------------------------
>
>          Key: MNG-1244
>          URL: http://jira.codehaus.org/browse/MNG-1244
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.1

>
>
> The bin/m2 script breaks under cygwin if the m2 home has spaces in the path.  Quick fix:
> 25c25
> < exec `dirname $0`/mvn $@
> ---
> > exec "`dirname "$0"`/mvn" $@

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1244) bin/m2 breaks with spaces in path

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1244?page=all ]

Mark Hobson updated MNG-1244:
-----------------------------

    Attachment: MNG-1244.txt

> bin/m2 breaks with spaces in path
> ---------------------------------
>
>          Key: MNG-1244
>          URL: http://jira.codehaus.org/browse/MNG-1244
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.1
>  Attachments: MNG-1244.txt
>
>
> The bin/m2 script breaks under cygwin if the m2 home has spaces in the path.  Quick fix:
> 25c25
> < exec `dirname $0`/mvn $@
> ---
> > exec "`dirname "$0"`/mvn" $@

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MNG-1244) bin/m2 breaks with spaces in path

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1244?page=all ]
     
Mark Hobson reopened MNG-1244:
------------------------------


You also need the inner set of quotes - I'll attach a patch to avoid ambiguity.

> bin/m2 breaks with spaces in path
> ---------------------------------
>
>          Key: MNG-1244
>          URL: http://jira.codehaus.org/browse/MNG-1244
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.1

>
>
> The bin/m2 script breaks under cygwin if the m2 home has spaces in the path.  Quick fix:
> 25c25
> < exec `dirname $0`/mvn $@
> ---
> > exec "`dirname "$0"`/mvn" $@

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1244) bin/m2 breaks with spaces in path

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1244?page=all ]
     
Brett Porter closed MNG-1244:
-----------------------------

    Resolution: Fixed

applied

> bin/m2 breaks with spaces in path
> ---------------------------------
>
>          Key: MNG-1244
>          URL: http://jira.codehaus.org/browse/MNG-1244
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.1
>  Attachments: MNG-1244.txt
>
>
> The bin/m2 script breaks under cygwin if the m2 home has spaces in the path.  Quick fix:
> 25c25
> < exec `dirname $0`/mvn $@
> ---
> > exec "`dirname "$0"`/mvn" $@

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org