Developers guide
136
SCP Setup
Note that to use scp, authenticed remote ssh
must be setup on mcba5 AND mistral. This is done by
the following two commands:
Your machine:
scp ~/.ssh/id_dsa.pub apt@mcba5.phys.unsw.edu.au:~/.ssh/temp-pub-key
User apt on mcba5:
cat ~/.ssh/temp-pub-key >> ~/.ssh/authorized_keys2
rm ~/.ssh/temp-pub-key
</echo>
</target>
<target name="init">
<tstamp/>
<mkdir dir="${build-dir}"/>
<mkdir dir="${build-classes-dir}"/>
<mkdir dir="${build-doc-dir}"/>
<mkdir dir="${dist-base-dir}"/>
<mkdir dir="${dist-dir}"/>
<condition property="haveAllJars" >
<and>
<available file="${lib-dir}/cryptix-jce-api.jar"/>
<available file="${lib-dir}/cryptix-jce-compat.jar"/>
<available file="${lib-dir}/cryptix-jce-provider.jar"/>
<available file="${lib-dir}/cryptix-sasl.jar"/>
<available file="${lib-dir}/javax-sasl.jar"/>
<available file="${lib-dir}/log4j.jar"/>
<available file="${lib-dir}/jas.jar"/>
<available file="${lib-dir}/jcan.jar"/>
<available file="${lib-dir}/jsdt.jar"/>
<available file="${lib-dir}/jsdt-client-socket.jar"/>
<available file="${lib-dir}/junit.jar"/>
<available file="${lib-dir}/drama.jar"/>
<available file="${lib-dir}/jsnmp.jar"/>
<available file="${lib-dir}/agentapi.jar"/>
<available file="${lib-dir}/ol.jar"/>
<available file="${lib-dir}/skinlf.jar" />
<available file="${lib-dir}/lf-skins.jar" />
<available file="${lib-dir}/rachel.jar" />
</and>
</condition>
<fail unless="haveAllJars" message="A required jar file is missing"/>
</target>
<!-- ********** COMPILE ********** -->
<target name="compile-sp"
depends="init"
description="Compile SP because it won't by itself">
<javac destdir="${build-classes-dir}"
source="1.4"
classpathref="classpath" >
<src path="${src-dir}"/>
<include name="apt/sp/APTSPClient.java"/>
</javac>
</target>
<target name="compile"
depends="init,compile-sp"
description="Compile the APT classes">
<javac destdir="${build-classes-dir}"
source="1.4"
debug="yes"
deprecation="true"










