ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hol...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTypes fileset.html
Date Thu, 28 Mar 2002 23:39:19 GMT
holtdl      02/03/28 15:39:19

  Modified:    docs/manual/CoreTypes fileset.html
  Log:
  Add an initial example of straight <include>/<exclude> so it's
  clear how to do it that way, then chain the <patternset> one
  off of that. (Suggested by Dominique Devienne.)
  
  Revision  Changes    Path
  1.10      +13 -4     jakarta-ant/docs/manual/CoreTypes/fileset.html
  
  Index: fileset.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTypes/fileset.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- fileset.html	3 Feb 2002 22:11:39 -0000	1.9
  +++ fileset.html	28 Mar 2002 23:39:19 -0000	1.10
  @@ -73,22 +73,31 @@
   <h4>Examples</h4>
   <blockquote><pre>
   &lt;fileset dir=&quot;${server.src}&quot; casesensitive=&quot;yes&quot;
&gt;
  +  &lt;include name=&quot;**/*.java&quot;/&gt;
  +  &lt;exclude name=&quot;**/*Test*&quot;/&gt;
  +&lt;/fileset&gt;
  +</pre></blockquote>
  +<p>Groups all files in directory <code>${server.src}</code> that are
Java
  +source files and don't have the text <code>Test</code> in their
  +name.</p>
  +<blockquote><pre>
  +&lt;fileset dir=&quot;${server.src}&quot; casesensitive=&quot;yes&quot;
&gt;
     &lt;patternset id=&quot;non.test.sources&quot; &gt;
       &lt;include name=&quot;**/*.java&quot;/&gt;
       &lt;exclude name=&quot;**/*Test*&quot;/&gt;
     &lt;/patternset&gt;
   &lt;/fileset&gt;
   </pre></blockquote>
  -<p>Groups all files in directory <code>${server.src}</code> that are
Java
  -source files and don't have the text <code>Test</code> in their
  -name.</p>
  +<p>Groups the same files as the above example, but also establishes
  +a PatternSet that can be referenced in other
  +<code>&lt;fileset&gt;</code> elements, rooted at a different directory.</p>
   <blockquote><pre>
   &lt;fileset dir=&quot;${client.src}&quot; &gt;
     &lt;patternset refid=&quot;non.test.sources&quot;/&gt;
   &lt;/fileset&gt;
   </pre></blockquote>
   <p>Groups all files in directory <code>${client.src}</code>, using the
  -same patterns as the example above.</p>
  +same patterns as the above example.</p>
   
   <hr>
   <p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  
  
  

--
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