From 822028744ff977b3588dcc54bafdc1e9e8f98375 Mon Sep 17 00:00:00 2001
From: Peter Donald
+
<path> elements:
<classpath> are also valid for <path>.For example:
+
+ <path id="base.path">
+ <pathelement path="${classpath}"/>
+ </path>
+
+can be written as:
+
+ <path id="base.path" path="${classpath}"/>
+
Several tasks take arguments that will be passed to another @@ -1580,6 +1591,12 @@ execution depending on system parameters.
use when looking upclassname. <available classname="org.whatever.Myclass" property="Myclass.present"/>
sets the property Myclass.present to the value "true"
-if the org.whatever.Myclass is found in Ant's classpath.
+<property name="jaxp.jar" value="./lib/jaxp11/jaxp.jar"/>
+<available file="${jaxp.jar}" property="jaxp.jar.present"/>
+
+sets the property jaxp.jar.present to the value "true"
+if the file ./lib/jaxp11/jaxp.jar is found.
+...in project ...
+<property name="jaxp.jar" value="./lib/jaxp11/jaxp.jar"/>
+<path id="jaxp" location="${jaxp.jar}"/>
+...in target ...
+<available classname="javax.xml.transform.Transformer" classpathref="jaxp" property="jaxp11.present"/>
+
+sets the property jaxp11.present to the value "true"
+if the class javax.xml.transform.Transformer is found in the classpath referenced by jaxp (in this case, it is ./lib/jaxp11/jaxp.jar).
+