build.xml revision 8dbc5fec77543515bcd781e1e544dc61e0134cbf
<project default="install">
<property name="builddir" value="build"/>
<property name="classesdir" value="${builddir}/classes"/>
<property name="target-vm" value="1.6"/>
<property name="owlapi-jars" value="lib/owlapi-osgidistribution-3.5.2.jar lib/guava-18.0.jar lib/trove4j-3.0.3.jar"/>
<property environment="env"/>
<path id="classpath">
<fileset dir="${libdir}">
<include name="*.jar"/>
</fileset>
</path>
<target name="clean">
<delete dir="${builddir}"/>
</target>
<target name="compile">
<mkdir dir="${classesdir}/locality"/>
<javac srcdir="./" destdir="${classesdir}/locality" debug="on" target="${target-vm}" nowarn="off" source="1.6">
<classpath refid="classpath"/>
<include name="de/unibremen/informatik/locality/*.java"/>
</javac>
<mkdir dir="${classesdir}"/>
<javac srcdir="./" destdir="${classesdir}" debug="on" target="${target-vm}" nowarn="off" source="1.6">
<classpath refid="classpath"/>
<include name="de/unibremen/informatik/*.java"/>
</javac>
</target>
<target name="install" depends="clean,jar,copy-libs,fact,fact-prover">
</target>
<target name="fact">
<mkdir dir="${classesdir}/Fact"/>
<javac srcdir="./" destdir="${classesdir}/Fact" debug="on" target="${target-vm}" nowarn="off" source="1.6">
<classpath refid="classpath"/>
<include name="de/unibremen/informatik/Fact/*.java"/>
</javac>
<manifest>
<attribute name="Title" value="OWL Fact"/>
<attribute name="Class-Path" value="${owlapi-jars} lib/${fact-jar}"/>
</manifest>
</jar>
</target>
<target name="fact-prover">
<mkdir dir="${classesdir}/FactProver"/>
<javac srcdir="./" destdir="${classesdir}/FactProver" debug="on" target="${target-vm}" nowarn="off" source="1.6">
<classpath refid="classpath"/>
<include name="de/unibremen/informatik/FactProver/*.java"/>
</javac>
<manifest>
<attribute name="Title" value="OWL Fact Prover"/>
<attribute name="Class-Path" value="${owlapi-jars} lib/${fact-jar}"/>
</manifest>
</jar>
</target>
<target name="java-files" depends="install"/>
<target name="java-libs" depends="copy-libs"/>
<target name="jar" depends="compile">
<manifest>
<attribute name="Title" value="OWL Locality Checker"/>
<attribute name="Class-Path" value="${owlapi-jars}"/>
</manifest>
</jar>
<manifest>
<attribute name="Title" value="OWL2 MNO Parser"/>
<attribute name="Main-Class" value="OWL2Parser"/>
<attribute name="Class-Path" value="${owlapi-jars}"/>
</manifest>
</jar>
</target>
<target name="copy-libs">
<mkdir dir="/lib"/>
<copy todir="/lib/">
<fileset dir="${libdir}" excludes="native"/>
</copy>
</target>
</project>