summaryrefslogblamecommitdiff
path: root/test/files/ant/fsc-build.xml
blob: 9323be1c828405e89623f4c79d7a0960d670c226 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
                                      














                                                                                
                                       













                                                        
<?xml version="1.0" encoding="UTF-8"?>

<project name="fsc" default="run" basedir=".">

  <import file="${basedir}/imported.xml"/>

<!-- ===========================================================================
BUILD
============================================================================ -->

  <target name="build" depends="init">
    <echo level="verbose" message="build.dir=${build.dir}"/>
    <mkdir dir="${build.dir}"/>
    <fsc
      srcdir="${source.dir}"
      includes="**/${ant.project.name}*.scala"
      deprecation="yes" unchecked="yes"
      destdir="${build.dir}"
      classpathref="build.classpath"
    />
    <dirname property="log.dir" file="${build.dir}"/>
    <echo level="verbose" message="log.dir=${log.dir}"/>
    <replace
      file="${log.dir}/${ant.project.name}-ant.log"
      token="${log.dir}"
      value="[...]/files/ant"
    />
  </target>

</project>