diff --git a/docs/index.html b/docs/index.html index f08669ce9..6e389fcc8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,6 +13,7 @@
<path> elements:
<pathelement location="testclasses"/>
</path>
+ The shortcuts previously mentioned for <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).
+