summaryrefslogtreecommitdiff
path: root/support/ant/test.xml
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2003-10-30 07:46:47 +0000
committerburaq <buraq@epfl.ch>2003-10-30 07:46:47 +0000
commit96c18e0bf427ea42cbffe2cfd883ba4ed4a7128b (patch)
tree656b873eec5ab798cfdf893cb0f5ebaa6d3147dc /support/ant/test.xml
parent8c06f155be9b4d4fcd292e570a1ebd48f69e87c5 (diff)
downloadscala-96c18e0bf427ea42cbffe2cfd883ba4ed4a7128b.tar.gz
scala-96c18e0bf427ea42cbffe2cfd883ba4ed4a7128b.tar.bz2
scala-96c18e0bf427ea42cbffe2cfd883ba4ed4a7128b.zip
need only one build.xml file to build and test ...
need only one build.xml file to build and test the scala ant task
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