[ http://jira.codehaus.org/browse/MNG-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed MNG-3087. ------------------------------- Assignee: Carlos Sanchez Resolution: Duplicate > mvn.bat does not return proper errorlevel > ----------------------------------------- > > Key: MNG-3087 > URL: http://jira.codehaus.org/browse/MNG-3087 > Project: Maven 2 > Issue Type: Bug > Components: Command Line > Affects Versions: 2.0.7 > Reporter: Jerry Hehman > Assignee: Carlos Sanchez > Priority: Minor > Attachments: mvn.bat > > > The mvn.bat script always exits with code 0 on Windows XP/NT. With version > 2.0.7, the following line was removed from the error section: > if "%OS%"=="Windows_NT" @endlocal > This causes the ERROR_CODE to retain the value 0 when the program exits. > Replacing this line solves the problem. -- 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