ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant/docs index.html
Date Sun, 04 Feb 2001 01:00:42 GMT
nico        01/02/03 17:00:42

  Modified:    docs     index.html
  Documented if and unless attributes of the nested include and exclude
  elements of PatternSet.
  Reported by Peter Donald (from the openejb-dev-list)
  Revision  Changes    Path
  1.201     +14 -1     jakarta-ant/docs/index.html
  Index: index.html
  RCS file: /home/cvs/jakarta-ant/docs/index.html,v
  retrieving revision 1.200
  retrieving revision 1.201
  diff -u -r1.200 -r1.201
  --- index.html	2001/02/01 23:37:21	1.200
  +++ index.html	2001/02/04 01:00:41	1.201
  @@ -34,7 +34,7 @@
   <p>Version: @VERSION@<br>
  -$Id: index.html,v 1.200 2001/02/01 23:37:21 nico Exp $</p>
  +$Id: index.html,v 1.201 2001/02/04 01:00:41 nico Exp $</p>
  @@ -980,6 +980,19 @@
   multiple elements separated by commas or spaces, the nested
   &lt;include&gt; and &lt;exclude&gt; elements expect their name
   attribute to hold a single pattern.</p>
  +<p>The nested &lt;include&gt; and &lt;exclude&gt; elements allow
you to use
  +if and unless arguments to specify that the element should only be used if a 
  +property is set, or that it should be used only if a property is not set.</p>
  +<p>For example</p>
  +&lt;patternset id=&quot;sources&quot; &gt;
  +  &lt;include name=&quot;std/**/*.java&quot;/&gt;
  +  &lt;include name=&quot;prof/**/*.java&quot; if=&quot;professional&quot;/&gt;
  +  &lt;exclude name=&quot;**/*Test*&quot;/&gt;
  +<p>will only include the files in the sub-directory <em>prof</em> if
the property
  +<em>professional</em> is set to some value.</p>
   <h3><a name="fileset">FileSets</a></h3>
   <p>FileSets are groups of files. These files can be found in a

View raw message