all run target depend on jar

This commit is contained in:
fros4943 2008-10-02 19:56:23 +00:00
parent ebeb0b1452
commit 205b9f8bc4

View file

@ -84,7 +84,7 @@ The COOJA Simulator
</java> </java>
</target> </target>
<target name="run_bigmem" depends="init, compile, copy configs"> <target name="run_bigmem" depends="init, compile, jar, copy configs">
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI" maxmemory="512m"> <java fork="yes" dir="${build}" classname="se.sics.cooja.GUI" maxmemory="512m">
<arg line="${args}"/> <arg line="${args}"/>
<env key="LD_LIBRARY_PATH" value="."/> <env key="LD_LIBRARY_PATH" value="."/>
@ -101,7 +101,7 @@ The COOJA Simulator
<ant antfile="build.xml" dir="apps/mspsim" target="jar" inheritAll="false"/> <ant antfile="build.xml" dir="apps/mspsim" target="jar" inheritAll="false"/>
</target> </target>
<target name="run_nogui" depends="init, compile, copy configs"> <target name="run_nogui" depends="init, compile, jar, copy configs">
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI" maxmemory="512m"> <java fork="yes" dir="${build}" classname="se.sics.cooja.GUI" maxmemory="512m">
<arg line="-nogui ${args}"/> <arg line="-nogui ${args}"/>
<env key="LD_LIBRARY_PATH" value="."/> <env key="LD_LIBRARY_PATH" value="."/>
@ -113,7 +113,7 @@ The COOJA Simulator
</java> </java>
</target> </target>
<target name="run_applet" depends="init, compile, copy configs"> <target name="run_applet" depends="init, compile, jar, copy configs">
<exec executable="appletviewer" dir="${build}"> <exec executable="appletviewer" dir="${build}">
<arg value="-J-Djava.security.policy=cooja.policy"/> <arg value="-J-Djava.security.policy=cooja.policy"/>
<arg value="cooja.html"/> <arg value="cooja.html"/>