The 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 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 from mysim.csc
> ant export-jar -DCSC="c:/mysim.csc"
or
> ant export-jar -DCSC="/home/user/sim.csc"
The output JAR is saved to exported.jar