Changes between Version 125 and Version 126 of WikiStart
- Timestamp:
- 02/25/19 17:22:15 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v125 v126 75 75 }}} 76 76 77 === Some technical info77 === Preparing the jar file 78 78 Party jar files must have a Main-Class set in the MANIFEST.MF file. This main-class must implement Party and have a no-arg constructor. 79 79 80 Instances of your class can be made both for extracting general info as getDescription(), or to really run your class. Therefore we recommend to do initialization of the party only in the init() and not in the constructor or static code. 81 80 The example randomagent does this from the maven build script. 81 82 We recommend to do initialization of the party only in the init() and not in the constructor or static code. 83 This because instances of your class can be made both for extracting general info as getDescription(), or to really run your class. 84 82 85 The jar files are loaded with an isolated jar class loader that should avoid collisions 83 86 with possibly identically named but possibly different packages in other jar files. 84 87 85 88 86 87 88 89 == Running a party 89 90 90 Negotiation parties are run on a parties server, such as the one provided above. The provided parties server supports only java agents at this time. You do not need a run server or any of the runserver code to write and compile your party.91 Negotiation parties are run on a [https://tracinsy.ewi.tudelft.nl/trac/Genius2PartiesServer partiesserver]. The provided partiesserver supports only java agents at this time. 91 92 92 93