From bc0d46a9660d1d31deff1a991d106e442c92909f Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 29 Oct 2009 10:13:46 +0000 Subject: [PATCH] added "ant help" target, with build executable simulation example --- tools/cooja/build.xml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/tools/cooja/build.xml b/tools/cooja/build.xml index 1f1cdc6f6..81178c48e 100644 --- a/tools/cooja/build.xml +++ b/tools/cooja/build.xml @@ -13,8 +13,26 @@ The COOJA Simulator -> ant run - Starts COOJA simulator + Start COOJA + > ant run + Build COOJA (dist/cooja.jar) and all default projects (MSPSim et al) + > ant jar + + Start COOJA with more memory allocated (for large simulations) + > ant run_bigmem + Start COOJA, show error box if process terminates unexpectedly. + > ant run_errorbox + + Start COOJA and immediately loads simulation in sim.csc + > java -mx512m -jar dist/cooja.jar -quickstart=sim.csc + Start COOJA without GUI and run simulation in sim.csc + > java -mx512m -jar dist/cooja.jar -nogui=sim.csc + + Build executable simulation JAR from current projects and simulation in sim.csc + > ant jar + > cd build + build/> java -cp ".;../lib/jdom.jar;../lib/log4j.jar" se.sics.cooja.util.ExecuteJAR "/home/user/sim.csc" +