You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2006/01/06 06:19:09 UTC

[jira] Updated: (MNG-1317) m2.bat doesn't work on Windows 2000

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

Jason van Zyl updated MNG-1317:
-------------------------------

    Component:     (was: Plugins and Lifecycle)
               Command Line

> m2.bat doesn't work on Windows 2000
> -----------------------------------
>
>          Key: MNG-1317
>          URL: http://jira.codehaus.org/browse/MNG-1317
>      Project: Maven 2
>         Type: Bug

>   Components: Command Line
>     Versions: 2.0
>  Environment: Windows 2000/SP4 Maven 2.0
>     Reporter: ajbanck
>      Fix For: 2.0.3

>
>
> the m2.bat doesn't work on Windows 2000.
> This batch uses '%~dps0\mvn %*' to call the mvn batch file.  %~dps0 expands to the path including the batch name, resulting in an incorrect path.
> Looking at another batch (cruisecontrol.bat) uses %~dp0 instead of %~dps0
> Current Output with echo turned on:
> C:\cc_stg\Hercules_nl\MetadataRepository\shared\util>m2 compile
> >echo.
> >echo THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD 
> THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD
> C:\cc_stg\Hercules_nl\MetadataRepository\shared\util>echo.
> >C:\cc_stg\HERCUL~1\METADA~1\external\maven\maven-2.0\bin\m2.bat\mvn compile
> The directory name is invalid.

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