added target that instructs the jvm to show a message box at errors, useful for debugging Contiki nodes
This commit is contained in:
parent
34584fc05e
commit
563a9f1b8e
1 changed files with 35 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<project name="COOJA Simulator" default="help" basedir=".">
|
<project name="COOJA Simulator" default="run" basedir=".">
|
||||||
<property name="java" location="java"/>
|
<property name="java" location="java"/>
|
||||||
<property name="build" location="build"/>
|
<property name="build" location="build"/>
|
||||||
<property name="javadoc" location="javadoc"/>
|
<property name="javadoc" location="javadoc"/>
|
||||||
|
@ -73,6 +73,19 @@ The COOJA Simulator
|
||||||
</java>
|
</java>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="run_errorbox" depends="init, compile, jar, copy configs">
|
||||||
|
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI" maxmemory="512m">
|
||||||
|
<sysproperty key="user.language" value="en"/>
|
||||||
|
<jvmarg value="-XX:+ShowMessageBoxOnError"/>
|
||||||
|
<env key="LD_LIBRARY_PATH" value="."/>
|
||||||
|
<classpath>
|
||||||
|
<pathelement path="${build}"/>
|
||||||
|
<pathelement location="lib/jdom.jar"/>
|
||||||
|
<pathelement location="lib/log4j.jar"/>
|
||||||
|
</classpath>
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="runprof" depends="init, compile, jar, copy configs">
|
<target name="runprof" depends="init, compile, jar, copy configs">
|
||||||
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI">
|
<java fork="yes" dir="${build}" classname="se.sics.cooja.GUI">
|
||||||
<arg line="${args}"/>
|
<arg line="${args}"/>
|
||||||
|
|
Loading…
Reference in a new issue