diff --git a/docs/manual/OptionalTypes/classfileset.html b/docs/manual/OptionalTypes/classfileset.html new file mode 100644 index 000000000..caaca1400 --- /dev/null +++ b/docs/manual/OptionalTypes/classfileset.html @@ -0,0 +1,87 @@ + +
+ +A classfileset is a specialised type of fileset which, given a set of +"root" classes, will include all of the class files upon which the +root classes depend. This is typically used to create a jar with all of the +required classes for a particular application. +
++classfilesets are typically used by reference. They are declared with an +"id" value and this is then used as a reference where a normal fileset +is expected. +
+
+This type requires the jakarta-BCEL
library.
+
The class fileset support the following attributes in addition +to those supported by the +standard fileset: +
+ +Attribute | +Description | +Required | +
rootclass | +A single root class name | +No | +
+When more than one root class is required, multiple nested <root> elements +may be used +
+Attribute | +Description | +Required | +
classname | +The fully qualified name of the root class | +Yes | +
+ ++<classfileset id="reqdClasses" dir="${classes.dir}"> + <root classname="org.apache.tools.ant.Project" /> +</classfileset> +
This example creates a fileset containing all the class files upon which the
+org.apache.tools.ant.Project
class depends. This fileset could
+then be used to create a jar.
+
+ ++<jar destfile="minimal.jar" > + <fileset refid="reqdClasses"/> +</jar> +
Copyright © 2001 Apache Software Foundation. All rights +Reserved.
+ + + + diff --git a/docs/manual/conceptstypeslist.html b/docs/manual/conceptstypeslist.html index 9c30f22d9..8a056b91a 100644 --- a/docs/manual/conceptstypeslist.html +++ b/docs/manual/conceptstypeslist.html @@ -10,9 +10,11 @@