summaryrefslogtreecommitdiff
path: root/test/files/ant/fsc002-build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/ant/fsc002-build.xml')
-rw-r--r--test/files/ant/fsc002-build.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/files/ant/fsc002-build.xml b/test/files/ant/fsc002-build.xml
new file mode 100644
index 0000000000..db91070fa1
--- /dev/null
+++ b/test/files/ant/fsc002-build.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="fsc002" 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}"/>
+ <path id="source.ref">
+ <pathelement location="${source.dir}"/>
+ </path>
+ <fsc
+ srcref="source.ref"
+ includes="**/${ant.project.name}*.scala"
+ destdir="${build.dir}"
+ classpathref="build.classpath">
+ </fsc>
+ <echo level="verbose" message="log.file=${log.file}"/>
+ <replace file="${log.file}" token="${log.dir}" value="[...]/files/ant"/>
+ </target>
+
+</project>
+