ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/etc/testcases/core taskcontainer.xml
Date Fri, 04 Apr 2003 13:53:17 GMT
conor       2003/04/04 05:53:17

  Modified:    src/etc/testcases/core taskcontainer.xml
  Log:
  New task container test, which fails. This doesn't fail as badly
  under 1.5.x but nevertheless is not functional
  
  Revision  Changes    Path
  1.3       +23 -0     ant/src/etc/testcases/core/taskcontainer.xml
  
  Index: taskcontainer.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/core/taskcontainer.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -u -r1.2 -r1.3
  --- taskcontainer.xml	28 Mar 2003 08:42:00 -0000	1.2
  +++ taskcontainer.xml	4 Apr 2003 13:53:17 -0000	1.3
  @@ -1,8 +1,12 @@
   <project default="dont-run-this">
  +
  +  <property name="build.dir" value="build"/>
  +  
     <target name="dont-run-this">
       <fail>This build file is supposed to be run by a Unit test</fail>
     </target>
   
  +
     <target name="testPropertyExpansion">
       <sequential>
         <property name="foo" value="it worked"/>
  @@ -10,4 +14,23 @@
         <echo>As nested text: ${foo}</echo>
       </sequential>
     </target>
  +
  +  <target name="testTaskdef">
  +    <mkdir dir="${build.dir}"/>
  +    <javac srcdir="containersrc" destdir="${build.dir}" debug="on"/>
  +
  +    <sequential>    
  +      <taskdef name="sseq" classpath="${build.dir}" classname="test.SpecialSeq"/>
  +      <sseq>
  +        <property name="foo" value="it worked"/>
  +        <echo message="As attribute: ${foo}"/>
  +        <echo>As nested text: ${foo}</echo>
  +      </sseq>
  +    </sequential>
  +  </target>
  +
  +  <target name="cleanup">
  +    <delete dir="${build.dir}"/>
  +  </target>
  +  
   </project>
  
  
  

Mime
View raw message