JADE and Android applications for file exchange with MT4j-based devices.
Compiling:
First, make sure that lib/ contains all the necessary libraries (jade, jackson and postgresql 9.3 jdbc). Then, just type in:
$ cd CoFITS/server
$ javac -classpath "lib/*" -d bin src/**/*.java
Starting the platform: (for debugging purpose, mostly)
$ java -cp lib/jade.jar jade.Boot -local-host 127.0.0.1 -local-port 1098 -platform-id cofits
Running the server agent:
$ java -cp "lib/*:bin/" jade.Boot -local-host 127.0.0.1 -local-port 1098 -platform-id cofits -agents documentAgent:DocumentAgent.DocumentAgent