From continuum-commits-return-1230-apmail-maven-continuum-commits-archive=maven.apache.org@maven.apache.org Thu Nov 03 20:22:42 2005
Return-Path:
Delivered-To: apmail-maven-continuum-commits-archive@www.apache.org
Received: (qmail 19547 invoked from network); 3 Nov 2005 20:22:36 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 3 Nov 2005 20:22:36 -0000
Received: (qmail 64385 invoked by uid 500); 3 Nov 2005 20:22:28 -0000
Delivered-To: apmail-maven-continuum-commits-archive@maven.apache.org
Received: (qmail 64361 invoked by uid 500); 3 Nov 2005 20:22:28 -0000
Mailing-List: contact continuum-commits-help@maven.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: continuum-dev@maven.apache.org
Delivered-To: mailing list continuum-commits@maven.apache.org
Received: (qmail 64350 invoked by uid 99); 3 Nov 2005 20:22:28 -0000
X-ASF-Spam-Status: No, hits=-9.4 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Nov 2005 12:22:28 -0800
Received: (qmail 19384 invoked by uid 65534); 3 Nov 2005 20:22:07 -0000
Message-ID: <20051103202207.19383.qmail@minotaur.apache.org>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r330622 -
/maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml
Date: Thu, 03 Nov 2005 20:22:06 -0000
To: continuum-commits@maven.apache.org
From: evenisse@apache.org
X-Mailer: svnmailer-1.0.5
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
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.
- 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 :
-exit /B errorlevel
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+exit /B %ERROR_CODE%
+ and define the MAVEN_TERMINATE_CMD environment var to "on".