From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../manual/Tasks/propertyhelper.html | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/propertyhelper.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/propertyhelper.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/propertyhelper.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/propertyhelper.html new file mode 100644 index 00000000..6c73b0be --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/propertyhelper.html @@ -0,0 +1,108 @@ + + + + + + +PropertyHelper Task + + + + +

PropertyHelper

+

Description

+

This task is provided for the purpose of allowing the user to +(a) install a different PropertyHelper at runtime, or +(b) (hopefully more often) install one or more PropertyHelper Delegates into the +PropertyHelper active on the current Project. This is somewhat advanced Apache Ant usage and +assumes a working familiarity with the modern Ant APIs. See the description of Ant's +Property Helper for more information. +Since Ant 1.8.0

+ +

Parameters specified as nested elements

+ +

PropertyHelper

+You may specify exactly one configured org.apache.tools.ant.PropertyHelper instance. + +

PropertyHelper.Delegate

+You may specify, either in conjunction with a new PropertyHelper or not, one or +more configured implementations of the org.apache.tools.ant.PropertyHelper.Delegate +interface. A deeper understanding of the API is required here, however, as Delegate +is a marker interface only: the nested arguments must implement a Delegate +subinterface in order to do anything meaningful. + +

delegate

+

A generic <delegate> element which can use project references +is also provided:

+ +
Parameters
+ + + + + + + + + + + +
AttributeDescriptionRequired
refidThe id of a PropertyHelper.Delegate to install.Yes
+ +

Examples

+ +

Install a completely different PropertyHelper implementation + (assuming MyPropertyHelper extends PropertyHelper):

+ +
+<componentdef classname="org.example.MyPropertyHelper"
+              name="mypropertyhelper"/>
+<propertyhelper>
+  <mypropertyhelper/>
+</propertyhelper>
+
+ +

Add a new PropertyEvaluator delegate + (assuming MyPropertyEvaluator implements + PropertyHelper.PropertyEvaluator). Note that PropertyHelper + uses the configured delegates in LIFO order. I.e. the delegate + added by this task will be consulted before any previously defined + delegate and in particular before the built-in ones.

+ +
+<componentdef classname="org.example.MyPropertyEvaluator"
+              name="mypropertyevaluator"/>
+<propertyhelper>
+  <mypropertyevaluator/>
+</propertyhelper>
+
+ +

Add a new PropertyEvaluator delegate using the refid syntax:

+ +
+<typedef classname="org.example.MyPropertyEvaluator"
+         name="mypropertyevaluator"/>
+<mypropertyevaluator id="evaluator"/>
+<propertyhelper>
+  <delegate refid="evaluator"/>
+</propertyhelper>
+
+ + + + -- cgit 1.2.3-korg