ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard_Lan...@capgroup.com
Subject Looking for example: using id of type as a reference.
Date Mon, 10 May 2004 22:51:56 GMT




Is there an example of the task that uses a type like filterset where the
filterset is referenced by its id as in (I need to reuse filtersets from
different places in the build):

   <!-- Define the filterset reference by id -->
    <filterset id="filterset.reference">
      <! -- Blah, blah, blah: add nested filter elements -->
    </filterset>

   <target name="target-one", description="do first thing with filterset
using id">
       <!-- Yakity, yakity, yak : do something with the filterset by
referencing it via its id -->
   </target>

  <target name="target-two", description="do second thing with filterset
using id">
       <!-- Yadda, yadda, yadda : do something  ELSE with the filterset by
referencing it via its id yet again-->
   </target>

This is quest is for something similiar to extendsible and re-usable
classpaths....


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message