| 339 | = Stand-alone Running = |
| 340 | For stand-alone running you need to have the following available in your project space (this includes the maven dependencies you have set for your project) |
| 341 | * The parties you want to run (in compiled form) |
| 342 | * The profiles you want to provide to the parties |
| 343 | * A settings.json file containing the [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/protocol/src/main/java/genius2/protocol/session SessionSettings] eg SAOP Settings. [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/simplerunner/src/test/resources/settings.json view example file]. |
| 344 | |
| 345 | To give a concrete example, we use the setup as in the [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/simplerunner simplerunner module] |
| 346 | |
| 347 | You can download a simple stand-alone runner from http://artifactory.ewi.tudelft.nl/artifactory/libs-release/genius2/simplerunner/ and then click on latest version and then on simplerunner-<latestversion>-jar-with-dependencies.jar. |
| 348 | |
| 349 | Make sure your settings.json folder is in the same directory as the jar. |
| 350 | |
| 351 | Make sure your agents are in the java classpath. |
| 352 | |
| 353 | A stand-alone runner can now be started as follows |
| 354 | <code>java -cp simplerunner...jar genius2.simplerunner.SessionRunner src/test/resources/settings.json</code> |
| 355 | |