From f03354ed8321376da7cd15f038bbe59a2b4e67d0 Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson In addition, DirSets,
-FileSets, and
-FileLists
-can be specified via nested In addition, one or more
+Resource Collections
+can be specified as nested elements (these must consist of
+file-type resources only).
+Additionally, it should be noted that although resource collections are
+processed in the order encountered, certain resource collection types
+such as fileset,
+dirset and
+files
+are undefined in terms of order.path
and
<classpath path="${classpath}"/>
-<dirset>
,
-<fileset>
, and <filelist>
-elements, respectively. Note: The order in which the files
-building up a FileSet are added to the path-like structure is not
-defined.
<classpath>
<pathelement path="${classpath}"/>
@@ -412,10 +414,11 @@ the files specified in the referenced FileList.
If you want to use the same path-like structure for several tasks,
you can define them with a <path>
element at the
same level as targets, and reference them via their
-id attribute - see References for an
+id attribute--see References for an
example.
A path-like structure can include a reference to another path-like
-structure via nested <path>
elements:
<path>
elements:
<path id="base.path"> <pathelement path="${classpath}"/>