ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/OptionalTypes classfileset.html
Date Thu, 04 Apr 2002 12:58:23 GMT
conor       02/04/04 04:58:23

  Modified:    docs/manual conceptstypeslist.html install.html
  Added:       docs/manual/OptionalTypes classfileset.html
  Log:
  Document the <classfileset> optional data type
  
  Revision  Changes    Path
  1.5       +6 -1      jakarta-ant/docs/manual/conceptstypeslist.html
  
  Index: conceptstypeslist.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/conceptstypeslist.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -u -r1.4 -r1.5
  --- conceptstypeslist.html	30 Mar 2002 21:37:40 -0000	1.4
  +++ conceptstypeslist.html	4 Apr 2002 12:58:23 -0000	1.5
  @@ -10,9 +10,11 @@
   
   <h2><a href="toc.html" target="navFrame">Table of Contents</a></h2>
   
  -<h3>Concepts and Types</h3>
  +<h3>Concepts</h3>
   <a href="sysclasspath.html">build.sysclasspath</a><br>
   <a href="CoreTasks/common.html">Common Attributes</a><br>
  +
  +<h3>Core Types</h3>
   <a href="CoreTypes/description.html">Description Type</a><br>
   <a href="dirtasks.html">Directory-based Tasks</a><br>
   <a href="CoreTypes/dirset.html">DirSet</a><br>
  @@ -23,5 +25,8 @@
   <a href="CoreTypes/filterset.html">FilterSet</a><br>
   <a href="CoreTypes/patternset.html">PatternSet</a><br>
   <a href="CoreTypes/xmlcatalog.html">XMLCatalog</a><br>
  +
  +<h3>Optional Types</h3>
  +<a href="OptionalTypes/classfileset.html">Class Fileset</a><br>
   </body>
   </html>
  
  
  
  1.28      +4 -2      jakarta-ant/docs/manual/install.html
  
  Index: install.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/install.html,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -w -u -r1.27 -r1.28
  --- install.html	13 Mar 2002 17:02:35 -0000	1.27
  +++ install.html	4 Apr 2002 12:58:23 -0000	1.28
  @@ -342,8 +342,10 @@
     </tr>
     <tr>
       <td>bcel.jar</td>
  -    <td>classfileset data type and JavaClassHelper used by the ClassConstants
  -    filter reader<!-- and optional depend task -->.</td>
  +    <td>classfileset data type, 
  +        JavaClassHelper used by the ClassConstants filter reader and
  +        optionally used by ejbjar for dependency determination
  +    </td>
       <td><a href="http://jakarta.apache.org/bcel/" target="_top">jakarta.apache.org/bcel/</a></td>
     </tr>
     <tr>
  
  
  
  1.1                  jakarta-ant/docs/manual/OptionalTypes/classfileset.html
  
  Index: classfileset.html
  ===================================================================
  <html>
  <head>
  <meta http-equiv="Content-Language" content="en-us">
  <title>ClassFileSet Type</title>
  </head>
  
  <body>
  <h2><a name="fileset">ClassFileSet</a></h2>
  <p>A classfileset is a specialised type of fileset which, given a set of 
  &quot;root&quot; 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.
  </p>
  <p>
  classfilesets are typically used by reference. They are declared with an
  &quot;id&quot; value and this is then used as a reference where a normal fileset
  is expected.
  </p>
  <p>
  This type requires the <code>jakarta-BCEL</code> library.
  </p>
  
  
  <h3>Attributes</h3>
  <p>The class fileset support the following attributes in addition
  to those supported by the 
  <a href="../CoreTypes/fileset.html">standard fileset</a>:
  </p>
   
  <table border="1" cellpadding="2" cellspacing="0">
    <tr>
      <td valign="top"><b>Attribute</b></td>
      <td valign="top"><b>Description</b></td>
      <td align="center" valign="top"><b>Required</b></td>
    </tr>
    <tr>
      <td valign="top">rootclass</td>
      <td valign="top">A single root class name</td>
      <td valign="top" align="center">No</td>
    </tr>
  </table>
  
  <h3>Nested Elements</h3>
  
  <h4>Root</h4>
  <p>
  When more than one root class is required, multiple nested &lt;root&gt; elements
  may be used
  </p>
  <table border="1" cellpadding="2" cellspacing="0">
    <tr>
      <td valign="top"><b>Attribute</b></td>
      <td valign="top"><b>Description</b></td>
      <td align="center" valign="top"><b>Required</b></td>
    </tr>
    <tr>
      <td valign="top">classname</td>
      <td valign="top">The fully qualified name of the root class</td>
      <td align="center" valign="top">Yes</td>
    </tr>
  </table>
  
  <h4>Examples</h4>
  <blockquote><pre>
  &lt;classfileset id=&quot;reqdClasses" dir=&quot;${classes.dir}&quot;&gt;
    &lt;root classname=&quot;org.apache.tools.ant.Project&quot; /&gt;
  &lt;/classfileset&gt;
  </pre></blockquote>
  
  <p>This example creates a fileset containing all the class files upon which the 
  <code>org.apache.tools.ant.Project</code> class depends. This fileset could

  then be used to create a jar. 
  </p>
  
  <blockquote><pre>
  &lt;jar destfile=&quot;minimal.jar&quot; &gt;
    &lt;fileset refid=&quot;reqdClasses&quot;/&gt;
  &lt;/jar&gt;
  </pre></blockquote>
  
  <hr>
  <p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  Reserved.</p>
  
  </body>
  </html>
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message