contiki/tools/cooja/apps/serial2pipe/build.xml
fros4943 944a812baa test implementation for forwarding serial data on per-node-basis to external applications
(useful when connecting serialport-bound application used to communicating with real nodes)
2007-02-26 13:28:14 +00:00

37 lines
932 B
XML

<?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}"/>
<javac srcdir="${java}" destdir="${build}">
<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">
<jar destfile="${lib}/serial2pipe.jar" basedir="${build}">
<fileset dir="${build}"/>
<manifest>
<attribute name="Class-Path" value="."/>
</manifest>
</jar>
</target>
</project>