Peter Reilly wrote:
To allow easy use, the nested elements caused by java reflection on objects are placed in two namespaces - the default ant namespace (antlib: org.apache.tools.ant) and the namespace of the object that holds the nested element.
This explains it, thanks - ignore my email that asks this question. best, -Rob
For example, the if task from ant-contrib extends ConditionBase, so it has nested elements like - equals. The rules above allow the following: <ac:if xmlns:ac="antlib:net.sf.antcontrib> <ac:and> <equals arg1="a" arg2="${p1}"/> <ac:equals arg1="b" arg2="${p2}"/> </ac:and> <then> <echo>the args are equal</echo> </then> <ac:else> <echo>They are not equal</echo> </ac:else> </ac:if>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]