2002-08-23 21:37:28 +00:00
|
|
|
<project name="pmd-dcpd" default="compile" basedir="../">
|
|
|
|
|
|
|
|
<property name="lib" value="lib\"/>
|
|
|
|
<property name="compiletimelibsdir" value="${lib}/compiletimeonly"/>
|
|
|
|
<property name="src" value="src\"/>
|
|
|
|
<property name="build" value="build\"/>
|
|
|
|
<property name="jar" value="pmd-dcpd-0.1.jar"/>
|
|
|
|
<property name="build.compiler" value="jikes"/>
|
|
|
|
|
|
|
|
<target name="delete">
|
|
|
|
<delete dir="${build}"/>
|
|
|
|
<delete file="${lib}\${jar}"/>
|
|
|
|
<mkdir dir="${build}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile">
|
2002-08-23 21:38:11 +00:00
|
|
|
<javac deprecation="true" debug="true" optimize="false" srcdir="${src}" destdir="${build}">
|
2002-08-23 21:37:28 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="${compiletimelibsdir}/jini-core.jar"/>
|
|
|
|
<pathelement location="${compiletimelibsdir}/jini-ext.jar"/>
|
|
|
|
<pathelement location="${lib}/pmd-0.9.jar"/>
|
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="rmic">
|
2002-08-23 21:38:11 +00:00
|
|
|
<rmic base="${build}" debug="true" classname="net.sourceforge.pmd.dcpd.JobAddedListener" >
|
2002-08-23 21:37:28 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="${compiletimelibsdir}/jini-core.jar"/>
|
|
|
|
<pathelement location="${compiletimelibsdir}/jini-ext.jar"/>
|
|
|
|
</classpath>
|
|
|
|
</rmic>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean" depends="delete,compile,rmic"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|
|
|
|
|