2007-02-26 14:28:14 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<project name="COOJA Serial2Pipe" 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}"/>
|
2007-08-20 11:15:34 +02:00
|
|
|
<javac srcdir="${java}" destdir="${build}" debug="on">
|
2007-02-26 14:28:14 +01:00
|
|
|
<classpath>
|
|
|
|
<pathelement path="."/>
|
|
|
|
<pathelement location="${cooja_jar}"/>
|
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean" depends="init">
|
|
|
|
<delete dir="${build}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="clean, init, compile">
|
2008-12-09 18:01:42 +01:00
|
|
|
<mkdir dir="${lib}"/>
|
2007-02-26 14:28:14 +01:00
|
|
|
<jar destfile="${lib}/serial2pipe.jar" basedir="${build}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Class-Path" value="."/>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|