Hi there,
On 22/01/2020 20:43, [email protected] wrote:
Hello,
I hope this is the right forum for this type of question.
Yes
Please redirect me to the proper media if not.
Trying to build Jena 1.13.1, 1.14.0, then 1.15.0-SNAPSHOT on Windows 10 Pro,
3.13.1 etc
Maven 3.6.1, Java 1.8, Eclipse 2019-12, following instructions found at
https://jena.apache.org/getting_involved/index.html
I am running into multiple issues:
* Broken <http://answers.semanticweb.com/tags/jena/>
answers.semanticweb.com link on the wiki page
https://jena.apache.org/help_and_support/index.html
answers.semanticweb.com is not connected with the Apache project. Seems
to be all 404 dead.
* Build fails on RAT checks:
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
(rat-checks) on project jena-tdb2: Too many files with unapproved license: 2
Worked around by using the Maven option -Drat.skip=true
There are additional files in the source area. See target/rat.txt.
* Jena TDB2 project Junit tests fails with:
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jena-tdb2 ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.jena.tdb2.assembler.TestTDBAssembler
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.685
s - in org.apache.jena.tdb2.assembler.TestTDBAssembler
.
[INFO] Running org.apache.jena.tdb2.sys.TestDatabaseOps
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
21.136 s <<< FAILURE! - in org.apache.jena.tdb2.sys.TestDatabaseOps
[ERROR] backup_1(org.apache.jena.tdb2.sys.TestDatabaseOps) Time elapsed:
1.55 s <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<3>
Probably the curse of Windows - can't properly delete databases due to
memory mapped files which do not go away until the JVM exits (a
long-time known Java issue). Makes tests on Windows messy.
This test suite does not seem to create use a fresh directory (the only
way to avoid the problem).
See "before()" - looks like commented line needs uncommenting.
I don't have a Windows machine to test.
The problem is the test, not what it is testing (backup).
(It would be OK on Linux or a Mac ...)
at
org.apache.jena.tdb2.sys.TestDatabaseOps.lambda$backup_1$19(TestDatabaseOps.
java:188)
at
org.apache.jena.tdb2.sys.TestDatabaseOps.backup_1(TestDatabaseOps.java:186)
Circumvented by skipping the tests altogether.
Thanks,
* OHM.