Developers guide
138
<delete file="${apt.src.tar}"/>
</target>
<!-- ********** END DIST ********** -->
<!-- ********** DOCUMENTATION **********
optional, these targets pepare the docs and stick them in the
deploy dir.
-->
<target name="api-doc"
description="Make the standard java api">
<javadoc sourcepath="${src-dir}"
destdir="${build-doc-dir}/api"
packagenames="apt.*"
classpathref="classpath"
defaultexcludes="yes"
package="true"
version="true"
author="true"
WindowTitle="APT API Documentation"
additionalparam="-source 1.4">
<doctitle>APT API Documentation</doctitle>
</javadoc>
</target>
<target name="doc-tar.gz"
depends="init, api-doc"
description="Generate documentation tar.gz">
<tar tarfile="${apt.doc.tar}" basedir="${build-doc-dir}"/>
<gzip zipfile="${apt.doc.tar.gz}" src="${apt.doc.tar}"/>
<delete file="${apt.doc.tar}"/>
</target>
<!-- ********** END DOCUMENTATION ********** -->
<!-- ********** DEPLOY ********** -->
<target name="prepare" depends="sign-jars" >
<!-- copy the config dir -->
<copy todir="${dist-dir}/config">
<fileset dir="${config-dir}" />
</copy>
<!-- when the server is run, it expects this dir to be created -->
<mkdir dir="${dist-dir}/log"/>
<!-- create the apt-client jnlp file -->
<copy file="${bin-dir}/apt-client-base.jnlp"
tofile="${apt.client.jnlpfile}" />
<replace file="${apt.client.jnlpfile}"
token="#version-key#"
value="${version-key}" />
<!-- create Keiths apt-client jnlp file -->
<copy file="${bin-dir}/apt-client-keith-base.jnlp"
tofile="${apt.client-keith.jnlpfile}" />
<replace file="${apt.client-keith.jnlpfile}"
token="#version-key#"
value="${version-key}" />
<!-- create the runKeithsGui.bat file -->
<copy file="${bin-dir}/runKeithsGui-base.bat"
tofile="${dist-dir}/runKeithsGui.bat" />
<replace file="${dist-dir}/runKeithsGui.bat"
token="#version-key#"
value="${version-key}" />
<!-- create the runOliversGui.bat file -->










