summaryrefslogblamecommitdiff
path: root/test/files/ant/scaladoc-build.xml
blob: e854af772be57de65e3b781e0cfd28f301b0787f (plain) (tree)































                                                                                
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: $ -->

<project name="scaladoc" 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}"/>
    <scaladoc
      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>