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 Sat, 16 Jun 2001 03:37:21 GMT
donaldp     01/06/15 20:37:21

  Modified:    proposal/myrmidon/src/make sample.ant
  Log:
  Updated sample to show using ant1 style tasks.
  
  Revision  Changes    Path
  1.9       +12 -2     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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- sample.ant	2001/06/14 16:35:52	1.8
  +++ sample.ant	2001/06/16 03:37:20	1.9
  @@ -21,9 +21,9 @@
   
     <property name="year" value="2000"/>
   
  -  <target name="main" depends="typedef-test, converterdef-test, datatype-test, namespace-test,
prim->main" />
  +  <target name="main" depends="typedef-test, converterdef-test, datatype-test, namespace-test,
ant1-tasklib-test" />
   
  -  <target name="all" depends="property-test, typedef-test, converterdef-test, ant-call-test,
datatype-test, namespace-test" />
  +  <target name="all" depends="property-test, typedef-test, converterdef-test, ant-call-test,
datatype-test, namespace-test, ant1-tasklib-test, prim->main" />
   
   <!--    
       <register-tasklib lib="../../dist/lib/core.atl" />
  @@ -91,6 +91,16 @@
       </facility>
   
       <echo blee:some-param="blah" message="Blee namespace test successful!"/>
  +
  +  </target>
  +
  +  <target name="ant1-tasklib-test">
  +
  +    <ant1-tasklib prefix="a1-" lib="../../dist/lib/ant1-compat.jar"/>
  +
  +    <a1-echo message="Boo!" />
  +    <a1-mkdir dir="../../dist/test"/>
  +    <a1-copy file="../../tools/lib/ant.jar" tofile="../../dist/test/ant1-compat.jar"
/>
   
     </target>
   
  
  
  

Mime
View raw message