summaryrefslogtreecommitdiff
path: root/test/files/ant/scalac002-build.xml
blob: 07628afa649f93a4c54d8d67133d4e367ee99b1f (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="scalac002" 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>
    <scalac
      srcref="source.ref"
      includes="**/${ant.project.name}*.scala"
      destdir="${build.dir}"
      classpathref="build.classpath"
    />
    <echo level="verbose" message="log.file=${log.file}"/>
    <replace file="${log.file}" token="${log.dir}" value="[...]/files/ant"/>
  </target>

</project>