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 2008/08/13 11:54:27 UTC

[jira] Updated: (MNG-2503) mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error

     [ http://jira.codehaus.org/browse/MNG-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2503:
------------------------------

    Fix Version/s: 3.0-alpha-1

> mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error
> --------------------------------------------------------------------------
>
>                 Key: MNG-2503
>                 URL: http://jira.codehaus.org/browse/MNG-2503
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 2.0.4
>         Environment: Windows XP SP2 and 4NT 5.00U
>            Reporter: Mark DeLaFranier
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 3.0-alpha-1
>
>         Attachments: mvn.bat
>
>
> 1. If not setup properly and error occurs, the script attempts to "endlocal" twice:
> [d:\] > mvn --version
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
> 4NT: D:\dev\maven2\bin\mvn.bat [145] Missing SETLOCAL
> 2. Syntax wrong for adding CLASSWORLDS_JAR when under 4NT. 
> For #1, I updated the :error section of the mvn.bat file. 
> For #2, I added a new section to add the CLASSWORLDS_JAR

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