Commit ea95bada authored by yannick legoc's avatar yannick legoc

Delete README.md

parent ca8e4bbe
# Compilation
-------------
First you should remove any already generated artifacts from your .m2 repository.
The dependent projects must be compiled and installed. To compile the server with jzmq:
> cd cameo-server
> mvn clean
> mvn -Pjzmq install
To compile the Java API:
> cd cameo-api-java
> mvn clean
> mvn install
To compile the C++ API:
> cd cameo-api-cpp
> configure
> make proto
> make install
To compile the tests:
> cd cameo-tests
> mvn clean
> mvn -Pjzmq install
> configure
> make install
# Tests
-------
Linux
-----
The Java and C++ tests can be run using either jzmq or jeromq.
To run all the tests with 10 iterations for each individual test:
Start the server with jzmq in a separate shell
> java -classpath target/cameo-tests-jzmq-0.0.1-full.jar fr.ill.ics.cameo.server.Server jzmq-api-config.xml
Or start the server with jeromq in a separate shell
> java -classpath target/cameo-tests-jeromq-0.0.1-full.jar fr.ill.ics.cameo.server.Server jeromq-api-config.xml
Start all the tests
> java -jar target/cameo-tests-jzmq-0.0.1-full.jar all 10
Display the available tests
> java -jar target/cameo-tests-jzmq-0.0.1-full.jar
Start a specific test
> java -jar target/cameo-tests-jzmq-0.0.1-full.jar startsimplejava 100
Windows
-------
The Java and C++ tests can be run using the jzmq-win-api-config.xml after having been compiled. Edit the win-environment.properties file to modify the path for the C++ executables. If you get the Cameo binaries without compiling the sources, you need to install Visual C++ Redistributable 2015.
To run all the tests with 10 iterations for each individual test:
Start the server in a separate shell
> set PATH=%ZEROMQ_HOME%\bin\x64;%PATH%
> java -Djava.library.path=%ZEROMQ_HOME%\java\lib -classpath target\cameo-tests-jzmq-0.0.1-full.jar fr.ill.ics.cameo.server.Server jzmq-win-api-config.xml
Start all the tests
> java -Djava.library.path=%ZEROMQ_HOME%\java\lib -jar target\cameo-tests-jzmq-0.0.1-full.jar all 10
Display the available tests
> java -Djava.library.path=%ZEROMQ_HOME%\java\lib -jar target\cameo-tests-jzmq-0.0.1-full.jar
Start a specific test
> java -Djava.library.path=%ZEROMQ_HOME%\java\lib -jar target\cameo-tests-jzmq-0.0.1-full.jar startsimplejava 100
If the dependent libraries, i.e. libzmq.dll, jzmq.dll, boost_thread-vc140-mt-1_59.dll are in the same directory than cameo-tests-jzmq-0.0.1-full.jar java.library.path must be removed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment