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

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

</project>