ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs antlib.xml
Date Fri, 31 Oct 2003 09:55:29 GMT
peterreilly    2003/10/31 01:55:29

  Modified:    src/etc/testcases/taskdefs Tag: ANT_16_BRANCH antlib.xml
  Log:
  opps forgot to commit this yesterday
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.1   +16 -0     ant/src/etc/testcases/taskdefs/antlib.xml
  
  Index: antlib.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/antlib.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- antlib.xml	17 Sep 2003 16:17:56 -0000	1.3
  +++ antlib.xml	31 Oct 2003 09:55:29 -0000	1.3.2.1
  @@ -14,6 +14,22 @@
       <mytask/>
     </target>
   
  +  <target name="antlib.resource">
  +    <typedef resource="taskdefs/test.antlib.xml">
  +        <classpath>
  +            <!-- To load the task classes: -->
  +            <path refid="testclasses"/>
  +            <!-- For test.antlib.xml: -->
  +            <pathelement location=".."/>
  +            <!-- For test2.antlib.xml: -->
  +            <pathelement location="${testcases.dir}/org/apache/tools/ant/taskdefs/test2-antlib.jar"/>
  +        </classpath>
  +    </typedef>
  +    <mytask/>
  +    <echo>-and-then-</echo>
  +    <mytask2/>
  +  </target>
  +
     <target name="ns.current">
       <typedef file="antlib.current-test.xml" uri="abc"/>
       <x:useecho2 xmlns:x="abc"/>
  
  
  

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


Mime
View raw message