osd-contiki/tools/cooja/apps/mrm/build.xml

40 lines
1 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0"?>
<project name="COOJA Multi-path Ray-tracer Medium" default="compile" basedir=".">
<property name="java" location="java"/>
<property name="build" location="build"/>
<property name="lib" location="lib"/>
<property name="cooja_jar" value="../../dist/cooja.jar"/>
<target name="init">
<tstamp/>
</target>
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${java}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement path="."/>
<pathelement location="${cooja_jar}"/>
</classpath>
</javac>
</target>
<target name="clean" depends="init">
<delete dir="${build}"/>
2008-09-17 22:49:13 +02:00
<delete dir="${lib}"/>
</target>
<target name="jar" depends="init, compile">
2008-09-17 22:49:13 +02:00
<mkdir dir="${lib}"/>
<jar destfile="${lib}/mrm.jar" basedir="${build}">
<fileset dir="images"/>
<manifest>
<attribute name="Class-Path" value="."/>
</manifest>
</jar>
</target>
</project>