Browse Source

Updated sample to show using ant1 style tasks.

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

+ 12
- 2
proposal/myrmidon/src/make/sample.ant View File

@@ -21,9 +21,9 @@ Legal:


<property name="year" value="2000"/> <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" /> <register-tasklib lib="../../dist/lib/core.atl" />
@@ -94,4 +94,14 @@ Legal:


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

</project> </project>

Loading…
Cancel
Save