added support for nogui start from ant

This commit is contained in:
fros4943 2007-01-09 09:14:25 +00:00
parent 1fbce051c3
commit 33bea3a025

View file

@ -69,6 +69,18 @@ The COOJA Simulator
</java>
</target>
<target name="run_nogui" depends="init, compile, copy configs">
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI">
<arg line="-nogui ${args}"/>
<env key="LD_LIBRARY_PATH" value="."/>
<classpath>
<pathelement path="${build}"/>
<pathelement location="lib/jdom.jar"/>
<pathelement location="lib/log4j.jar"/>
</classpath>
</java>
</target>
<target name="jar" depends="clean, init, compile, copy configs">
<mkdir dir="${dist}"/>
<jar destfile="${dist}/cooja.jar" basedir="${build}">