summaryrefslogtreecommitdiff
path: root/test/files/ant/fsc002-build.xml
blob: db91070fa1695162c0f0cf403488193d3ecee85d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>