summaryrefslogtreecommitdiff
path: root/test/files/ant/scalac-build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-11-08 10:34:03 +0000
committermichelou <michelou@epfl.ch>2006-11-08 10:34:03 +0000
commit4fb358b4ae286de7dd30fd3143aeabc689636876 (patch)
tree60db62d7b16c7e17100076566bd4e6c8fef74a63 /test/files/ant/scalac-build.xml
parent1e1a2160bcd84fcfe58132a4da1e1f9d16fa939f (diff)
downloadscala-4fb358b4ae286de7dd30fd3143aeabc689636876.tar.gz
scala-4fb358b4ae286de7dd30fd3143aeabc689636876.tar.bz2
scala-4fb358b4ae286de7dd30fd3143aeabc689636876.zip
added ant task "FastScalac" and updated test su...
added ant task "FastScalac" and updated test suite accordingly
Diffstat (limited to 'test/files/ant/scalac-build.xml')
-rw-r--r--test/files/ant/scalac-build.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/files/ant/scalac-build.xml b/test/files/ant/scalac-build.xml
new file mode 100644
index 0000000000..dcbc420800
--- /dev/null
+++ b/test/files/ant/scalac-build.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: $ -->
+
+<project name="scalac" default="run" basedir=".">
+
+ <import file="${basedir}/imported.xml"/>
+
+<!-- ===========================================================================
+BUILD
+============================================================================ -->
+
+ <target name="build" depends="init">
+ <echo level="verbose" message="build.dir=${build.dir}"/>
+ <mkdir dir="${build.dir}"/>
+ <scalac
+ srcdir="${source.dir}"
+ includes="**/${ant.project.name}*.scala"
+ destdir="${build.dir}"
+ classpathref="build.classpath"
+ />
+ <dirname property="log.dir" file="${build.dir}"/>
+ <echo level="verbose" message="log.dir=${log.dir}"/>
+ <replace
+ file="${log.dir}/${ant.project.name}-ant.log"
+ token="${log.dir}"
+ value="[...]/files/ant"
+ />
+ </target>
+
+</project>
+