Using JBuilder with JADE: Quick Summary
To set up JBuilder for JADE.
Do once.
- Tools->Configure Libraries
- Select User Home, click Add and add in the JADE jar files as instructed by the "New Library Wizard".
- You can also make JBuilder aware of the JADE API docs from the Documentation tab.
Do for each project.
- Tools->Config Libraries
- Choose "Required Libraries" tab. Select the JADE library group under User Home
Do to prepare for Running
- Select the project (.jpx) file and right click.
- Choose Properties and choose the Run tab.
- In the Runtime Configuration Properties window click New (or Edit to make changes). For the Main class field you need to search and find jade.Boot
- Fill in the Application Parameters field with JADE command line arguments.
JADE Containers and Platforms
The best way to run is to use the -container switch in the Application Properties window and keep a Main-container running in some accessible location.. Run and debug new agents in their own containers, making sure to kill the container after each run to avoid name clashes.