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 29 30 31
|
<?xml version="1.0" encoding="UTF-8"?>
<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>
|