[ http://jira.codehaus.org/browse/MNG-1273?page=comments#action_54012 ] 

Grzegorz Slowikowski commented on MNG-1273:
-------------------------------------------

I commented this issue here: http://jira.codehaus.org/browse/MNG-1317
but this issue is still open.

I personally changed in my m2.bat file from "%~dps0" to "%~dp0" and it works.
I found in MNG-1318 (http://jira.codehaus.org/browse/MNG-1318) that "%~dps0"
has something to do with Windows NT. I have XP, so I cannot check if "%~dp0"
would work on NT or not.

But when using "mvn.bat" instead of "m2.bat" there is no issue.

> Current  installation instructions for Windows do not mention M2_HOME. It is 
> required and cannot have spaces.
> -------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-1273
>          URL: http://jira.codehaus.org/browse/MNG-1273
>      Project: Maven 2
>         Type: Bug

>   Components: documentation - general
>     Versions: 2.0
>  Environment: Windows
>     Reporter: Richard Bondi
>     Priority: Minor
>      Fix For: 2.0.3

>
>
> Two issues:
> 1. The installation instructions for Windows make no mention of the need to 
> set M2_HOME. But if you try to run "mvn --version" after following the 
> instructions, you are prompted to set this environment variable.
> 2. At least on Windows 2K, M2_HOME will not work if it contains spaces. One 
> workaround is to use the "short" 8.3 version of all directory names. (To see 
> the short version of directory names, do "dir /A:D /X" in a DOS window.)

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