Fix building of powertracker
This commit is contained in:
parent
1b13b69814
commit
74b2751072
|
@ -4,14 +4,15 @@
|
|||
<property name="cooja" location="../.."/>
|
||||
<property name="cooja_jar" value="${cooja}/dist/cooja.jar"/>
|
||||
|
||||
<available file="${cooja_jar}" type="file" property="cooja_jar_exists"/>
|
||||
<fail message="COOJA jar not found at '${cooja_jar}'. Please compile COOJA first." unless="cooja_jar_exists"/>
|
||||
|
||||
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="init">
|
||||
<available file="${cooja_jar}" type="file" property="cooja_jar_exists"/>
|
||||
<fail message="COOJA jar not found at '${cooja_jar}'. Please compile COOJA first." unless="cooja_jar_exists"/>
|
||||
<mkdir dir="build"/>
|
||||
<javac srcdir="java" destdir="build" debug="on" includeantruntime="false">
|
||||
<classpath>
|
||||
|
|
|
@ -96,6 +96,7 @@ The COOJA Simulator
|
|||
<ant antfile="build.xml" dir="apps/avrora" target="clean" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/serial_socket" target="clean" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/collect-view" target="clean" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/powertracker" target="clean" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<target name="run" depends="init, compile, jar, copy configs">
|
||||
|
@ -189,6 +190,7 @@ The COOJA Simulator
|
|||
<ant antfile="build.xml" dir="apps/avrora" target="jar" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/serial_socket" target="jar" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/collect-view" target="jar" inheritAll="false"/>
|
||||
<ant antfile="build.xml" dir="apps/powertracker" target="jar" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<target name="run_nogui" depends="init, compile, jar, copy configs">
|
||||
|
|
Loading…
Reference in a new issue