Changes between Version 164 and Version 165 of WikiStart


Ignore:
Timestamp:
04/24/19 16:49:19 (5 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v164 v165  
    337337
    338338
     339= Stand-alone Running =
     340For 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
     345To give a concrete example, we use the setup as in the [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/simplerunner simplerunner module]
     346
     347You 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
     349Make sure your settings.json folder is in the same directory as the jar.
     350
     351Make sure your agents are in the java classpath.
     352
     353A 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
    339356
    340357