Return-Path:
Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm
Delivered-To: mailing list ant-dev@jakarta.apache.org
Received: (qmail 57698 invoked by uid 500); 15 Jan 2001 01:22:56 -0000
Delivered-To: apmail-jakarta-ant-cvs@apache.org
Received: (qmail 57695 invoked by uid 1195); 15 Jan 2001 01:22:55 -0000
Date: 15 Jan 2001 01:22:55 -0000
Message-ID: <20010115012255.57694.qmail@apache.org>
From: donaldp@apache.org
To: jakarta-ant-cvs@apache.org
Subject: cvs commit: jakarta-ant/docs index.html
donaldp 01/01/14 17:22:55
Modified: docs index.html
Log:
Updated docs
Submitted By: "Stephane Bailliez"
Revision Changes Path
1.188 +36 -3 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- index.html 2001/01/12 15:28:32 1.187
+++ index.html 2001/01/15 01:22:55 1.188
@@ -13,6 +13,7 @@
@@ -654,6 +655,16 @@
<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 @@
use when looking up classname
.
No |
+
+ classpathref |
+ the classpath to use, given as reference to a path defined elsewhere. |
+ No |
+
+
Parameters specified as nested elements
classpath
@@ -1589,7 +1606,23 @@
Examples
<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.
+if the class 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
).
+
Description
@@ -3296,7 +3329,7 @@
No |
- includeJavaRuntim |
+ includeJavaRuntime |
whether or not to include the default runtime
libraries from the executing virtual machine. Default is no. |
No |