From 09446c0ee731b4a466ff9f228663e5767f5f0950 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Fri, 19 Mar 2010 08:57:04 +0000 Subject: [PATCH] added export-jar target, updated help --- tools/cooja/build.xml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/tools/cooja/build.xml b/tools/cooja/build.xml index 06deb516e..556523bde 100644 --- a/tools/cooja/build.xml +++ b/tools/cooja/build.xml @@ -23,25 +23,37 @@ The COOJA Simulator Start COOJA, show error box if process terminates unexpectedly. > ant run_errorbox - Start COOJA and immediately loads simulation in sim.csc + Start COOJA and immediately load 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 sim.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" sim.jar + Build executable simulation JAR from mysim.csc + > ant export-jar -DCSC="c:/mysim.csc" or - build/> java -cp ".;../lib/jdom.jar;../lib/log4j.jar" se.sics.cooja.util.ExecuteJAR "C:/home/sim.csc" sim.jar - The output JAR is in build/sim.jar + > ant export-jar -DCSC="/home/user/sim.csc" + The output JAR is saved to exported.jar - + + + + + + + + + + + + + + +