Skip to content

Commit

Permalink
Added mspsim as a submodule instead of as a binary mspsim.jar file
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdunkels authored and cmorty committed Nov 7, 2013
1 parent c67c048 commit 71eea75
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 523 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tools/mspsim"]
path = tools/mspsim
url = https://github.com/contiki-os/mspsim.git
7 changes: 4 additions & 3 deletions tools/cooja/apps/mspsim/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<property name="cooja" location="../.."/>

<property name="cooja_jar" value="${cooja}/dist/cooja.jar"/>
<property name="mspsim" location="../../../mspsim"/>
<property name="mspsim_jar" value="${lib}/mspsim.jar"/>
<property name="mspsim" location="${cooja}/../mspsim"/>
<property name="mspsim_jar" value="${mspsim}/mspsim.jar"/>
<property name="coffee" location="../../../coffee-manager"/>
<property name="coffee_jar" value="${lib}/coffee.jar"/>
<property name="cooja_mspsim_jar" value="${lib}/cooja_mspsim.jar"/>
Expand All @@ -26,7 +26,8 @@
</target>

<target name="mspsim" depends="init">
<copy todir="${lib}" file="${mspsim}/mspsim.jar" />
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
<copy todir="${lib}" file="${mspsim_jar}" />
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />
</target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
import se.sics.mspsim.util.ELF;
import se.sics.mspsim.util.MapEntry;
import se.sics.mspsim.util.MapTable;
import se.sics.mspsim.util.SimpleProfiler;
import se.sics.mspsim.profiler.SimpleProfiler;

/**
* @author Fredrik Osterlind
Expand Down
1 change: 1 addition & 0 deletions tools/mspsim
Submodule mspsim added at 58f187
Binary file removed tools/mspsim/lib/jcommon-1.0.14.jar
Binary file not shown.
Binary file removed tools/mspsim/lib/jfreechart-1.0.11.jar
Binary file not shown.
504 changes: 0 additions & 504 deletions tools/mspsim/lib/jfreechart-licence-LGPL.txt

This file was deleted.

Binary file removed tools/mspsim/lib/jipv6.jar
Binary file not shown.
Binary file removed tools/mspsim/mspsim.jar
Binary file not shown.
15 changes: 0 additions & 15 deletions tools/mspsim/scripts/autorun.sc

This file was deleted.

0 comments on commit 71eea75

Please sign in to comment.