ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTypes filterset.html
Date Thu, 26 Sep 2002 16:21:23 GMT
bodewig     2002/09/26 09:21:23

  Modified:    docs/manual/CoreTypes filterset.html
  Log:
  add example for referencing filtersets by id.
  
  PR: 12324
  Submitted by:	Laurie Harper <zodiac at holoweb.net>
  
  Revision  Changes    Path
  1.10      +13 -0     jakarta-ant/docs/manual/CoreTypes/filterset.html
  
  Index: filterset.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTypes/filterset.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- filterset.html	4 Sep 2002 11:05:17 -0000	1.9
  +++ filterset.html	26 Sep 2002 16:21:23 -0000	1.10
  @@ -14,6 +14,9 @@
   feature or at the same level as <CODE>&lt;target&gt;</CODE> - i.e.,
as
   children of 
   <CODE>&lt;project&gt;</CODE>.</P>
  +<P>FilterSets support the <code>id</code> and <code>refid</code>
attributes.
  +You can define a FilterSet with an <code>id</code> attribute and then refer
  +to that definition from another FilterSet with a <code>refid</code> attribute.
   <p>In addition, FilterSets can specify
   <code>begintoken</code> and/or 
   <code>endtoken</code> attributes to define what to match.</p>
  @@ -116,6 +119,16 @@
   &lt;/copy&gt;
   </PRE></BLOCKQUOTE>
   
  +<p>Define a FilterSet and reference it later.</p>
  +<BLOCKQUOTE><PRE>
  +&lt;filterset id=&quot;myFilterSet&quot; begintoken=&quot;%&quot; endtoken=&quot;*&quot;&gt;
  +  &lt;filter token=&quot;DATE&quot; value=&quot;${TODAY}&quot;/&gt;
  +&lt;/filterset&gt;
  +
  +&lt;copy file=&quot;${build.dir}/version.txt&quot; toFile=&quot;${dist.dir}/version.txt&quot;&gt;
  +  &lt;filterset refid=&quot;myFilterSet&quot;/&gt;
  +&lt;/copy&gt;
  +</PRE></BLOCKQUOTE>
   <HR>
   
   <P align=center>Copyright &copy; 2001-2002 Apache Software Foundation.
  
  
  

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