summaryrefslogtreecommitdiffstats
path: root/test/resources/property/pathtofileset.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/resources/property/pathtofileset.xml')
-rw-r--r--test/resources/property/pathtofileset.xml45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/resources/property/pathtofileset.xml b/test/resources/property/pathtofileset.xml
deleted file mode 100644
index b330cdf..0000000
--- a/test/resources/property/pathtofileset.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<project default="simple">
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath location="${antcontrib.jar}"/>
- </taskdef>
-
- <target name="cleanup">
- <delete quiet ="yes" dir="${test.dir}"/>
- </target>
-
- <target name="init">
- <property name="test.dir" value="pathtofilesset"/>
- <mkdir dir="${test.dir}/0/0"/>
- <mkdir dir="${test.dir}/0/1"/>
- <mkdir dir="${test.dir}/1/0"/>
- <mkdir dir="${test.dir}/1/1"/>
- <touch file="${test.dir}/0/0/0.java"/>
- <touch file="${test.dir}/0/1/1.java"/>
- <touch file="${test.dir}/1/0/2.java"/>
- <touch file="${test.dir}/1/1/3.java"/>
- </target>
-
- <target name="simple" depends="init">
- <path id="simple">
- <fileset dir="${test.dir}/0" includes="**/*.java"/>
- <fileset dir="${test.dir}/1" includes="**/*.java"/>
- </path>
- <pathtofileset dir="${test.dir}/0" pathrefid="simple"
- ignoreNonRelative="yes" name="simple.0.fileset"/>
- <pathconvert targetos="unix" refid="simple.0.fileset" property="simple.0.property"/>
-
- <pathtofileset dir="${test.dir}/1" pathrefid="simple"
- ignoreNonRelative="yes" name="simple.1.fileset"/>
- <pathconvert targetos="unix" refid="simple.1.fileset" property="simple.1.property"/>
- </target>
-
- <target name="simple-exception" depends="init">
- <path id="simple">
- <fileset dir="${test.dir}/0" includes="**/*.java"/>
- <fileset dir="${test.dir}/1" includes="**/*.java"/>
- </path>
- <pathtofileset dir="${test.dir}/0" pathrefid="simple"
- name="simple.0.fileset"/>
- </target>
-
-</project>