af-a / project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAAS Project -

Add a brief description of your project. Make sure to keep this README updated, particularly on how to run your project from the command line.

Team Members

Dependencies

  • JADE v.4.5.0
  • ...

How to run

Just install gradle and run:

gradle run

Run with multiple machines

  • Connect machines to a common network
  • Find the ip of the server/host machine (for example 192.168.1.123)
  • Find a port which can be used for JADE communication (for example 5555)

For server/host machine

gradle run --args="-isHost 192.168.1.123 -localPort 5555 -stage1 -stage2 ... -noTK"

For client machines

gradle run --args="-host 192.168.1.123 -port 5555 -stage3 -noTK"

For the client which executes gradle command later than every other machine

gradle run --args="-host 192.168.1.123 -port 5555 -stageN"

It will automatically get the dependencies and start JADE with the configured agents. In case you want to clean you workspace run

gradle clean

Eclipse

To use this project with eclipse run

gradle eclipse

This command will create the necessary eclipse files. Afterwards you can import the project folder.

About


Languages

Language:Java 99.6%Language:CSS 0.4%