openlvc / portico

Portico is an open source, cross-platform, fully supported HLA RTI implementation. Designed with modularity and flexibility in mind, Portico is a production-grade RTI for the Simulation and Training Community, so come say hi!

Home Page:http://www.porticoproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis CI can't support jdk "orcalejdk8", and the unit test "testDeflateInflateWithEncryption" failed.

swimmingCreative opened this issue · comments

When I tried to build the portico 2.2.0 in Travis CI for the forked repository. There are problem as below:
can't find "oraclejdk8“.
Then I changed the "oraclejd8" in travis.yml to "openjdk8". And changed the "java-8-orcale" in "/system/build.properties" into "java-8-openjdk-amd64". Then the compiler passed.

But in the unit test phase, below information has been given:
"FAIL testDeflateInflateWithEncryption"

And the unit test is failed.

Have updated the travis build files on current master and maintenance-2.0.x to use openjdk8 as you did. By default, the Linux builds will look for the $JAVA_HOME environment variable to find their location.

The best way to make local properties changes is to create a file called local.properties in the same directory as build.properties, and then put any values you want into that file. That file is Git-Ignored, so it won't go into the repo, but the build system will load local.properties before it loads build.properties, so anything in the former will take precedence. This will work for any property that the build system uses (not just the ones in build.properties).

Ref the current master branch - my advice for now is to go to maintenance-2.0.x branch if you are having troubles. It's long standing so it should present less issues if you need to get moving faster