Last change
on this file since 14627 was 14627, checked in by oranfry, 17 years ago |
initial import of the gs3-release-maker
|
File size:
1.1 KB
|
Rev | Line | |
---|
[14627] | 1 | <project name="test" basedir=".">
|
---|
| 2 |
|
---|
| 3 | <property name="c" value="org.apache.tools.ant.types.PolyTest"/>
|
---|
| 4 |
|
---|
| 5 | <path id="test-c">
|
---|
| 6 | <pathelement location="../../../../build/testcases" />
|
---|
| 7 | <pathelement path="${java.class.path}" />
|
---|
| 8 | </path>
|
---|
| 9 |
|
---|
| 10 | <target name="init">
|
---|
| 11 | <typedef loaderref="poly" classpathref="test-c"
|
---|
| 12 | name = "myfileset" classname="${c}$MyFileSet"/>
|
---|
| 13 |
|
---|
| 14 | <typedef loaderref="poly" classpathref="test-c"
|
---|
| 15 | name = "mypath" classname="${c}$MyPath"/>
|
---|
| 16 |
|
---|
| 17 | <typedef loaderref="poly" classpathref="test-c"
|
---|
| 18 | name = "mytask" classname="${c}$MyTask"/>
|
---|
| 19 | </target>
|
---|
| 20 |
|
---|
| 21 | <target name="fileset" depends="init">
|
---|
| 22 | <mytask>
|
---|
| 23 | <fileset dir="."/>
|
---|
| 24 | </mytask>
|
---|
| 25 | </target>
|
---|
| 26 |
|
---|
| 27 | <target name="fileset-ant-type" depends="init">
|
---|
| 28 | <mytask>
|
---|
| 29 | <fileset ant-type="myfileset" dir="."/>
|
---|
| 30 | </mytask>
|
---|
| 31 | </target>
|
---|
| 32 |
|
---|
| 33 | <target name="path" depends="init">
|
---|
| 34 | <mytask>
|
---|
| 35 | <path path="."/>
|
---|
| 36 | </mytask>
|
---|
| 37 | </target>
|
---|
| 38 |
|
---|
| 39 | <target name="path-ant-type" depends="init">
|
---|
| 40 | <mytask>
|
---|
| 41 | <path ant-type="mypath" path="."/>
|
---|
| 42 | </mytask>
|
---|
| 43 | </target>
|
---|
| 44 |
|
---|
| 45 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.