[ http://jira.codehaus.org/browse/MNG-2002?page=all ] Emmanuel Venisse closed MNG-2002: ---------------------------------
Resolution: Fixed Fix Version: 2.0.3 Fixed. It works now when we call mvn.bat from continuum and from ant. > The mvn.bat Script does not return the error-code of Maven > ---------------------------------------------------------- > > Key: MNG-2002 > URL: http://jira.codehaus.org/browse/MNG-2002 > Project: Maven 2 > Type: Bug > Components: Command Line > Versions: 2.0, 2.0.1, 2.0.2 > Environment: Windows XP > Reporter: Christian Schulte > Assignee: Emmanuel Venisse > Priority: Blocker > Fix For: 2.0.3 > > > The mvn.bat Script does not return with an error-code if Maven failed. The > scipt only returns error-codes for problems with the environment. If Maven > fails the Script does not propagate Maven's error code back to the caller. > Since we are calling mvn.bat from some ant-wrapper-script it is essential for > us to have mvn.bat return an error if Maven fails instead of success. -- 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]