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: +

+

+ + + + + + + + + + + +
AttributeDescriptionRequired
failonerrorSpecifies 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:-