added cooja applet target

This commit is contained in:
fros4943 2008-02-12 15:17:50 +00:00
parent 8d82edfe81
commit fe11ea6c8f

View file

@ -93,6 +93,15 @@ The COOJA Simulator
</java>
</target>
<target name="run_applet" depends="init, compile, copy configs">
<exec executable="appletviewer" dir="${build}">
<arg value="-J-Djava.security.policy=cooja.policy"/>
<arg value="cooja.html"/>
<env key="LD_LIBRARY_PATH" value="."/>
<env key="CLASSPATH" path="${build}"/>
</exec>
</target>
<target name="jar" depends="clean, init, compile, copy configs">
<mkdir dir="${dist}"/>
<jar destfile="${dist}/cooja.jar" basedir="${build}">