donaldp     02/02/06 05:19:52

  Modified:    proposal/myrmidon/src/make sample.ant
  Log:
  Simple test for the if task
  
  Revision  Changes    Path
  1.32      +7 -0      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.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- sample.ant        3 Feb 2002 07:10:30 -0000       1.31
  +++ sample.ant        6 Feb 2002 13:19:52 -0000       1.32
  @@ -34,6 +34,13 @@
       <register-tasklib lib="../../dist/lib/core.atl" />
   -->
   
  +  <target name="if-test">
  +    <property name="blah" value="true" />
  +    <if test="${blah}">
  +      <log message="Sucessful if test!"/>
  +    </if>
  +  </target>
  +
     <target name="property-test">
       <property name="blah" value="fred" />
       <property name="${blah}" value="barney" />
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to