Hello all, I tried Baz's suggestion and it seems to work now for me. Thanks for the help everyone.
-Zach -----Original Message----- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 8:03 AM To: [email protected] Subject: Re: solution for exit code problems in maven1 I'm surprised that it works if you define MAVEN_TERMINATE_CMD in run.bat Emmanuel Baz a écrit : > I've added this as a comment on > http://jira.codehaus.org/browse/CONTINUUM-413 but since several people > are having the problem, I thought I'd tell the list. > > The correct answer is, change continuum's run.bat to begin: > @echo off > set MAVEN_TERMINATE_CMD=on > > then add this one line to the end of maven.bat: > if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERRORLEVEL% > > I've tested this solution, it works under winXP, maven 1.0.2. > > Hope this helps, > Baz > > >
