continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: solution for exit code problems in maven1
Date Fri, 04 Nov 2005 16:02:35 GMT
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
> 
> 
> 


Mime
View raw message