summaryrefslogtreecommitdiff
path: root/test/files/ant/scalac001-build.xml
blob: 4ec7fc833c50a0acf95d9d49c7a89628b5ba9609 (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
<?xml version="1.0" encoding="UTF-8"?>

<project name="scalac001" 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"/>
    <scalac
      srcdir="${source.dir}"
      includes="**/${ant.project.name}*.scala"
      destdir="${build.dir}"
      classpath="${classpath}"
    />
    <echo level="verbose" message="log.file=${log.file}"/>
    <replace file="${log.file}" token="${log.dir}" value="[...]/files/ant"/>
  </target>

</project>