Changes between Version 204 and Version 205 of WikiStart
- Timestamp:
- 06/26/19 16:23:49 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v204 v205 9 9 ||= name =||= description =||= more information =|| 10 10 ||the core ||the data structures for issues, values, bids, profiles, events and actions, parties etc.||here|| 11 ||profilesserver||a web server that provides profiles and domain descriptions||[https://tracinsy.ewi.tudelft.nl/trac/Genius 2ProfilesServer profiles server]||12 ||partiesserver||A web server that provides instances of running parties to use for negotiation||[https://tracinsy.ewi.tudelft.nl/trac/Genius 2PartiesServer parties server]||11 ||profilesserver||a web server that provides profiles and domain descriptions||[https://tracinsy.ewi.tudelft.nl/trac/GeniusWebProfilesServer profiles server]|| 12 ||partiesserver||A web server that provides instances of running parties to use for negotiation||[https://tracinsy.ewi.tudelft.nl/trac/GeniusWebPartiesServer parties server]|| 13 13 ||runserver||A web server that can run sessions and tournaments||[https://tracinsy.ewi.tudelft.nl/trac/Genius2RunServer run server]|| 14 14 … … 180 180 181 181 == Preparing the jar file 182 In order to put your party on the [https://tracinsy.ewi.tudelft.nl/trac/Genius 2PartiesServer partiesserver] for running, you need a jar file of your party.182 In order to put your party on the [https://tracinsy.ewi.tudelft.nl/trac/GeniusWebPartiesServer partiesserver] for running, you need a jar file of your party. 183 183 184 184 Normally the party includes all dependencies. The jar files are loaded with an isolated jar class loader that should avoid collisions with possibly identically named but possibly different packages in other jar files. … … 248 248 If you want to use another language than java or python2 to write your parties, you have a number of options 249 249 * Make your own adapter that runs your language from Java. Check [source:pythonadapter/src/main/java/geniusweb/pythonadapter/PythonPartyAdapter.java our pythonadapter] for an example how this can be done. 250 * Write your own partiesserver that correctly implements the [https://tracinsy.ewi.tudelft.nl/trac/Genius 2PartiesServer partiesserver interface]. This boils down to creating a webserver that correctly can handle calls to a number of prescribed URLs and websockets.250 * Write your own partiesserver that correctly implements the [https://tracinsy.ewi.tudelft.nl/trac/GeniusWebPartiesServer partiesserver interface]. This boils down to creating a webserver that correctly can handle calls to a number of prescribed URLs and websockets. 251 251 252 252 = JSON layout … … 383 383 * The parties you want to run (in compiled form) must be in your classpath 384 384 * The profiles you want to provide to the parties (alternatively you can refer to a profile on a running profile server) 385 * A settings.json file containing the [ https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/protocol/src/main/java/geniusweb/protocol/session SessionSettings] eg SAOP Settings. [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/simplerunner/src/test/resources/settings.json view example file].385 * A settings.json file containing the [source:/protocol/src/main/java/geniusweb/protocol/session SessionSettings] eg SAOP Settings. [source:/simplerunner/src/test/resources/settings.json view example file]. 386 386 * a simple stand-alone runner, eg download from [http://artifactory.ewi.tudelft.nl/artifactory/libs-release/geniusweb/simplerunner/ geniusweb artifactory] select latest version simplerunner-<latestversion>-jar-with-dependencies.jar. 387 387 388 A complete example is available [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/simplerunner simplerunner here]388 A complete example is available of [source:/simplerunner simplerunner here] 389 389 390 390 == Running == … … 419 419 You can browse the GeniusWeb core sources directly using the browse button at the right top of this page. 420 420 421 You can download the source code of this component from422 423 https://tracinsy.ewi.tudelft.nl/svn/genius2/ 421 You can download the source code of this component using 422 423 {{{svn co https://tracinsy.ewi.tudelft.nl/svn/GeniusWeb/}}} 424 424 425 425 Normal developers that write new parties do not need to install the GeniusWeb source code. This is only needed if you want to debug/trace into the GeniusWeb code for instance for debugging or understanding the inner workings of geniusWeb.