ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/make sample.ant
Date Wed, 19 Dec 2001 10:38:18 GMT
donaldp     01/12/19 02:38:18

  Modified:    proposal/myrmidon/src/make sample.ant
  Log:
  Add some tests for fail and update the taskdef test for new package hierarchy
  
  Revision  Changes    Path
  1.17      +18 -1     jakarta-ant/proposal/myrmidon/src/make/sample.ant
  
  Index: sample.ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/sample.ant,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- sample.ant	2001/12/17 09:16:31	1.16
  +++ sample.ant	2001/12/19 10:38:18	1.17
  @@ -40,7 +40,7 @@
     <target name="typedef-test">
       <typedef name="log2"
                type="task"
  -             classname="org.apache.myrmidon.libs.core.Log"
  +             classname="org.apache.antlib.core.Log"
                lib="../../dist/lib/core.atl" />
   
       <log2 message="Luke to Echo base. Can you hear me?"/>
  @@ -97,6 +97,23 @@
   
       <log blee:some-param="blah" message="Blee namespace test successful!"/>
   
  +  </target>
  +
  +  <target name="fail-test1">
  +    <fail message="Build is failing"/>
  +  </target>
  +
  +  <target name="fail-test2">
  +    <fail message="Build is failing if prop X is set" if="x"/>
  +  </target>
  +
  +  <target name="fail-test3">
  +    <fail message="Build is failing unless prop X is set" unless="x"/>
  +  </target>
  +
  +  <target name="fail-test4">
  +    <fail>Some multiline fail
  +    message.</fail>
     </target>
   
     <target name="ant1-tasklib-test">
  
  
  

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