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/componentdef.html | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/componentdef.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/componentdef.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/componentdef.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/componentdef.html new file mode 100644 index 00000000..e28e6813 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/componentdef.html @@ -0,0 +1,62 @@ + + + + + + +Componentdef Task + + + + +

componentdef

+

Description

+

+ Adds a component definition to the current project. + A component definition is the same as a + typedef except: +

+
    +
  1. + that it can only be used in other types or tasks that + accept components (by having an add() method). +
  2. +
  3. + multiple components may have the same name, provided they + implement different interfaces. +
  4. +
+

+ The purpose of this is to allow internal Apache Ant definitions to be + made for tags like "and" or "or". +

+ +

Examples

+ +
 <componentdef name="or" onerror="ignore"
+    classname="com.apache.tools.ant.taskdefs.conditions.Or"/>
+  <componentdef name="or" onerror="ignore"
+    classname="com.apache.tools.ant.types.resources.selectors.Or"/>
+

+ defines two components with the same name "or"; one is a condition + (see conditions) and one is + a selector (see selectors). +

+ + + -- cgit