summaryrefslogtreecommitdiff
path: root/test/files/ant/fsc001-build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-11-27 11:41:16 +0000
committermichelou <michelou@epfl.ch>2011-11-27 11:41:16 +0000
commit172563dfbbc674789fad1f8d8cd6567e06e52c99 (patch)
treece66093b871f42b84aee64456f3def25878a2a5e /test/files/ant/fsc001-build.xml
parent37201dd3cd6da6ca47f651a5b346a7706ae1e561 (diff)
downloadscala-172563dfbbc674789fad1f8d8cd6567e06e52c99.tar.gz
scala-172563dfbbc674789fad1f8d8cd6567e06e52c99.tar.bz2
scala-172563dfbbc674789fad1f8d8cd6567e06e52c99.zip
updated test cases for Scala Ant tasks
Diffstat (limited to 'test/files/ant/fsc001-build.xml')
-rw-r--r--test/files/ant/fsc001-build.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/files/ant/fsc001-build.xml b/test/files/ant/fsc001-build.xml
new file mode 100644
index 0000000000..0130f3615c
--- /dev/null
+++ b/test/files/ant/fsc001-build.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="fsc001" default="run">
+
+ <import file="${basedir}/imported.xml"/>
+
+<!-- ===========================================================================
+BUILD
+============================================================================ -->
+
+ <target name="build" depends="init">
+ <echo level="verbose" message="build.dir=${build.dir}"/>
+ <mkdir dir="${build.dir}"/>
+ <pathconvert property="classpath" refid="build.classpath"/>
+ <fsc
+ srcdir="${source.dir}"
+ includes="**/${ant.project.name}*.scala"
+ destdir="${build.dir}"
+ classpath="${classpath}">
+ </fsc>
+ <echo level="verbose" message="log.file=${log.file}"/>
+ <replace file="${log.file}" token="${log.dir}" value="[...]/files/ant"/>
+ </target>
+
+</project>
+