Distributed Objects Programming course Project
These instructions will install the development environment into your local machine
-
Install maven
$ brew install maven
$ sudo apt-get install maven
-
Clone the repository, or download source code
$ git clone https://github.com/juanmbellini/census
or
$ wget https://github.com/juanmbellini/census/archive/master.zip
-
Change working directory to project root
$ cd census
-
Install project modules
$ mvn clean install
-
Build jars
$ mvn clean package
Note: Jar files will be located in the
<project-root>/<module>/target
directory, where<module>
can be any ofapi
,server
orclient
.
-
Build jars
$ mvn clean package
-
Launch servers
$ ./srv.sh
-
Run client
$ ./clt.sh -Daddresses=<address list> -Dquery=<query id> -DinPath=<absolute path to file> -DoutPath=<absolute path to file> -DtimeOutPath=<absolute path to file> -Dn=<n arg> -Dprov=<prov arg>