Browse Source

Simple test for the if task

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271186 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
b73026d50f
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      proposal/myrmidon/src/make/sample.ant

+ 7
- 0
proposal/myrmidon/src/make/sample.ant View File

@@ -34,6 +34,13 @@ Legal:
<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" />


Loading…
Cancel
Save