continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: detecting build failure
Date Mon, 13 Aug 2007 15:49:10 GMT
The faq is for old continuum we'll update it in few days.

The problem is in mvn.bat distributed with maven 2.0.7. A fixed version is available there:
http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn.bat

Emmanuel

brad hadfield a écrit :
> Build failures are not detected by Continuum. I'm using continuum
> version 1.1 beta 1 with maven 2.0.7.
>  
>  
> I tried using the fixed maven batch file indicated in the FAQ but it
> fails due to a class Path error. This is what the end of the mvn.bat
> file looks like:
>  
> @REM Start MAVEN2
> :runm2
> %MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR%
> "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%"
> org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
> if ERRORLEVEL 1 goto error
> goto end
>  
> :error
> set ERROR_CODE=1
>  
> :end
> @REM set local scope for the variables with windows NT shell
> if "%OS%"=="Windows_NT" goto endNT
>  
> @REM For old DOS remove the set variables from ENV - we assume they were
> not set
> @REM before we started - at least we don't leave any baggage around
> set MAVEN_JAVA_EXE=
> set MAVEN_CMD_LINE_ARGS=
> goto postExec
>  
> :endNT
> @endlocal
>  
> :postExec
> if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
> @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
> if "%MAVEN_BATCH_PAUSE%" == "on" pause
>  
> if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
>  
> exit /B %ERROR_CODE%
>  
>  
> Thanks
> Brad
> 
> 


Mime
View raw message