Changes between Version 125 and Version 126 of WikiStart


Ignore:
Timestamp:
02/25/19 17:22:15 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v125 v126  
    7575}}}
    7676
    77 === Some technical info
     77=== Preparing the jar file
    7878Party 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.
    7979
    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        
     80The example randomagent does this from the maven build script.
     81
     82We recommend to do initialization of the party only in the init() and not in the constructor or static code.
     83This because instances of your class can be made both for extracting general info as getDescription(), or to really run your class.
     84
    8285The jar files are loaded with an isolated jar class loader that should avoid collisions
    8386with possibly identically named but possibly different packages in other jar files.
    8487
    8588
    86 
    87 
    8889== Running a party
    8990
    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.
     91Negotiation parties are run on a [https://tracinsy.ewi.tudelft.nl/trac/Genius2PartiesServer partiesserver]. The provided partiesserver supports only java agents at this time.
    9192
    9293