The Capsis training online
Purpose: use the ant create-module
tool to automatically create a new module in Capsis for this exercise session
Tutorial:
cd
to move in directoriespractice/capsis4/
directory. This is the Capsis installation directory, all commands below must be typed from here.training
and Tra
and adapt the 2 others):
// For Windows:
ant create-module -Dname=training -Dprefix=Tra -Dauthor=F._de_Coligny -Dinstitute=INRAE
// For Linux/MacOS:
sh ant create-module -Dname=training -Dprefix=Tra -Dauthor=F._de_Coligny -Dinstitute=INRAE
capsis4/etc/capsis.models
and check the file contains a new entry for your moduleidcard.properties
localised in capsis4/src/training/
, type and description may be changed freely, do not change the restant compile
, we are expecting a final BUILD SUCCESSFUL
:// Windows: capsis4> ant compile // Linux/MacOSX: capsis4> sh ant compile
// Windows: capsis4> capsis // Linux/MacOSX: capsis4> sh capsis.sh
capsis4/data/training/training.inv
or capsis4/data/template/template.inv
(if I removed training.inv by mistake trees.txt
2D Viewer
and double-click it to open it on the current simulation Step