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




Reply via email to