jar target compiles mspsim and mrm

This commit is contained in:
fros4943 2008-04-24 11:36:07 +00:00
parent 3dcc90d9c0
commit cbb68a71f6

View file

@ -81,8 +81,8 @@ The COOJA Simulator
</java> </java>
</target> </target>
<target name="jar_all" depends="init"> <target name="jar" depends="init">
<ant antfile="build.xml" dir="." target="jar" inheritAll="false"/> <ant antfile="build.xml" dir="." target="jar_cooja" inheritAll="false"/>
<ant antfile="build.xml" dir="apps/mrm" 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"/> <ant antfile="build.xml" dir="apps/mspsim" target="jar" inheritAll="false"/>
</target> </target>
@ -108,7 +108,13 @@ The COOJA Simulator
</exec> </exec>
</target> </target>
<target name="jar" depends="init, clean, compile, copy configs"> <target name="java_version" depends="init">
<exec executable="javac" dir="${build}">
<arg value="-version"/>
</exec>
</target>
<target name="jar_cooja" depends="init, clean, compile, copy configs">
<mkdir dir="${dist}"/> <mkdir dir="${dist}"/>
<jar destfile="${dist}/cooja.jar" basedir="${build}"> <jar destfile="${dist}/cooja.jar" basedir="${build}">
<manifest> <manifest>