Decent error if mspsim cant be built
This commit is contained in:
parent
6b9b457a60
commit
d05b03108a
|
@ -26,6 +26,14 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="mspsim" depends="init">
|
<target name="mspsim" depends="init">
|
||||||
|
<fail>-
|
||||||
|
----------------
|
||||||
|
Could not find the MSPSim build file. Did you run "git submodule update --init"?
|
||||||
|
----------------
|
||||||
|
<condition><not>
|
||||||
|
<available file="${mspsim}/build.xml" />
|
||||||
|
</not></condition>
|
||||||
|
</fail>
|
||||||
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
|
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
|
||||||
<copy todir="${lib}" file="${mspsim_jar}" />
|
<copy todir="${lib}" file="${mspsim_jar}" />
|
||||||
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />
|
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />
|
||||||
|
|
Loading…
Reference in a new issue