From 56573abb5d722bd3e2b207baf6a33f3ae46435d4 Mon Sep 17 00:00:00 2001
From: Diane Holt
Date: Thu, 28 Mar 2002 23:11:08 +0000
Subject: [PATCH] Rats! -- forgot to doc it. (See: P4Base.java, rev 1.12) PR:
Obtained from: Submitted by: Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272078 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 2 ++
docs/manual/OptionalTasks/perforce.html | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/WHATSNEW b/WHATSNEW
index 1711ea8b2..f35d9b4d1 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -249,6 +249,8 @@ Other changes:
* now supports nested patternsets.
+* Perforce tasks now support a "failonerror" attribute (defaults to "true").
+
Changes from Ant 1.4 to Ant 1.4.1
===========================================
diff --git a/docs/manual/OptionalTasks/perforce.html b/docs/manual/OptionalTasks/perforce.html
index da132d710..dc145dae7 100644
--- a/docs/manual/OptionalTasks/perforce.html
+++ b/docs/manual/OptionalTasks/perforce.html
@@ -125,6 +125,26 @@ or environment variables. These are
Your local installation of Perforce may require other settings (e.g. P4PASSWD, P4CONFIG). At the moment, these can only be set outside of Ant, as environment variables.
+
+Additionally, you may also specify the following attributes:
+
+
+
+
+ Attribute |
+ Description |
+ Required |
+
+
+ failonerror |
+ Specifies whether to stop the build
+ (true |yes |on )
+ or keep going (false |no |off )
+ if an error is returned from the p4 command. |
+ No; defaults to true. |
+
+
+
Examples
Setting in the environment:-