continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r330622 - /maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml
Date Thu, 03 Nov 2005 20:22:06 GMT
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>



Mime
View raw message