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/03 21:22:06 UTC

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

Author: evenisse
Date: Thu Nov  3 12:22:00 2005
New Revision: 330622

URL: http://svn.apache.org/viewcvs?rev=330622&view=rev
Log:
update faqs for exit code with maven

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=330622&r1=330621&r2=330622&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml (original)
+++ maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml Thu Nov  3 12:22:00 2005
@@ -27,11 +27,13 @@
           Continuum uses the command line return code for detecting a successful or failed execution.
         </p>
         <p>
-          If you use maven 1.0.2 or ant, you need to add at the end of maven.bat and ant.bat, the following command :
+          If you use maven or ant, you need to add at the end of maven.bat and ant.bat, the following lines :
         </p>
         <pre>
-exit /B errorlevel
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+exit /B %ERROR_CODE%
         </pre>
+         and define the MAVEN_TERMINATE_CMD environment var to "on".
       </answer>
     </faq>
   </part>