added jar_all target which compiles both cooja, mrm and mspsim_cooja

This commit is contained in:
fros4943 2008-04-03 14:22:03 +00:00
parent d6f91b2f6e
commit d918a7c0a1

View file

@ -81,6 +81,12 @@ The COOJA Simulator
</java>
</target>
<target name="jar_all" depends="init">
<ant antfile="build.xml" dir="." target="jar" inheritAll="false"/>
<ant antfile="build.xml" dir="apps/mrm" target="jar" inheritAll="false"/>
<ant antfile="build.xml" dir="apps/mspsim" target="jar" inheritAll="false"/>
</target>
<target name="run_nogui" depends="init, compile, copy configs">
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI">
<arg line="-nogui ${args}"/>
@ -102,10 +108,9 @@ The COOJA Simulator
</exec>
</target>
<target name="jar" depends="clean, init, compile, copy configs">
<target name="jar" depends="init, clean, compile, copy configs">
<mkdir dir="${dist}"/>
<jar destfile="${dist}/cooja.jar" basedir="${build}">
<fileset dir="${build}"/>
<manifest>
<attribute name="Main-Class" value="se.sics.cooja.GUI"/>
<attribute name="Class-Path" value=". lib/log4j.jar lib/jdom.jar"/>
@ -117,5 +122,4 @@ The COOJA Simulator
</copy>
</target>
</project>