summaryrefslogtreecommitdiff
path: root/support/ant/test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'support/ant/test.xml')
-rw-r--r--support/ant/test.xml36
1 files changed, 0 insertions, 36 deletions
diff --git a/support/ant/test.xml b/support/ant/test.xml
deleted file mode 100644
index d171ae6481..0000000000
--- a/support/ant/test.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<project name="scala.scalac4ant.test" default="build.jar" basedir=".">
-
- <!-- the compiler MUST be on your classpath -->
-
- <property name="jar.file" value="scalac4ant.jar"/>
- <property name="sources" value="src.scala" /> <!-- the source directory -->
- <property name="build.dir" value="build"/> <!-- the target directory -->
-
- <!-- task definition for scalac -->
- <!-- due to a bug in ant, giving a classpath here does not work.
- scalac4jar and the scalac compiler must be on your classpath already -->
- <taskdef name="scalac"
- classname="scala.tools.scalac4ant.AntTask"/>
-
- <target name="init">
- <mkdir dir="${build.dir}"/>
- </target>
-
- <!-- testing the ant task by compiling the ant task -->
-
- <target name="build.anttask" depends="init">
- <scalac srcdir="${sources}" destdir="${build.dir}" force="true">
- <include name="scala/tools/scalac4ant/*.scala"/>
- </scalac>
- </target>
-
- <!-- building jar -->
-
- <target name="build.jar" depends="build.anttask">
- <!-- Create war file -->
- <jar jarfile="${jar.file}" basedir="${build.dir}">
- <include name="scala/tools/scalac4ant/**"/>
- </jar>
- </target>
-
-</project> \ No newline at end of file