added support for nogui start from ant
This commit is contained in:
parent
1fbce051c3
commit
33bea3a025
1 changed files with 12 additions and 0 deletions
|
@ -69,6 +69,18 @@ The COOJA Simulator
|
||||||
</java>
|
</java>
|
||||||
</target>
|
</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">
|
<target name="jar" depends="clean, init, compile, copy configs">
|
||||||
<mkdir dir="${dist}"/>
|
<mkdir dir="${dist}"/>
|
||||||
<jar destfile="${dist}/cooja.jar" basedir="${build}">
|
<jar destfile="${dist}/cooja.jar" basedir="${build}">
|
||||||
|
|
Loading…
Reference in a new issue