You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2005/11/07 10:39:36 UTC

svn commit: r331248 - /maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml

Author: evenisse
Date: Mon Nov  7 01:39:32 2005
New Revision: 331248

URL: http://svn.apache.org/viewcvs?rev=331248&view=rev
Log:
[CONTINUUM-413] Add more explanation on how to modify maven.bat
Thanks to Brian Ewins

Modified:
    maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml

Modified: maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml?rev=331248&r1=331247&r2=331248&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml (original)
+++ maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml Mon Nov  7 01:39:32 2005
@@ -27,13 +27,17 @@
           Continuum uses the command line return code for detecting a successful or failed execution.
         </p>
         <p>
-          If you use maven or ant, you need to add at the end of maven.bat and ant.bat, the following lines :
+          If you use maven or ant, you need to add at the end of maven.bat and ant.bat, the following line :
         </p>
         <pre>
 if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
-exit /B %ERROR_CODE%
         </pre>
-         and define the MAVEN_TERMINATE_CMD environment var to "on".
+        If your bat file contains at the end an exit /B, this line must be copy before it.
+        You must add too, at the begin of $CONTINUUM/bin/win32/run.bat, the following lines :
+         <pre>
+@echo off
+set MAVEN_TERMINATE_CMD=on
+         </pre>
       </answer>
     </faq>
   </part>