continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barrow, Zach" <zbar...@systechnologies.com>
Subject RE: solution for exit code problems in maven1
Date Fri, 04 Nov 2005 16:24:01 GMT
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:emmanuel@venisse.net] 
Sent: Friday, November 04, 2005 8:03 AM
To: continuum-users@maven.apache.org
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
> 
> 
> 




Mime
View raw message