[ http://jira.codehaus.org/browse/MNG-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MNG-2503: ---------------------------- Assignee: John Casey Description: 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 was: 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 Patch Submitted: (was: [Yes]) Applied a patch generated from the attached mvn.bat file, with some minor modifications. This has been applied against trunk...can someone verify that it works? I will merge it to the branch, but I don't have windows... > 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 > 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