File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
liquidjava-umbrella/liquidjava-verifier Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 7979 as eclipse (hence all tests passing) -->
8080 <useSystemClassLoader >false</useSystemClassLoader >
8181 <forkCount >1</forkCount >
82- <argLine >-Dgumtree.match.gt.minh=1</argLine >
82+ <argLine >-Dgumtree.match.gt.minh=1 -Djava.library.path="/Users/frogofjuly/GitReps/cvc5/build/src/api/java" </argLine >
8383 <!-- we put the tests in src/main/java so that it's easier to navigate
8484 and understand on Github (recall that's an example code project, not a production
8585 app or library ) -->
8686 <testSourceDirectory >${basedir} /test/main/java/</testSourceDirectory >
8787 <testClassesDirectory >${project.build.directory} /classes/</testClassesDirectory >
8888 </configuration >
8989 </plugin >
90-
9190 <plugin >
9291 <groupId >org.antlr</groupId >
9392 <artifactId >antlr4-maven-plugin</artifactId >
Original file line number Diff line number Diff line change @@ -66,4 +66,25 @@ Then run building process for liquid java
6666
6767## Symblos not found/loaded
6868
69- One should compile Liquid Java project with the same JVM as cvc5!
69+ One should compile Liquid Java project with the same JVM as cvc5!
70+
71+ ## no cvc5jni in java.library.path
72+
73+ One should add this flag to JVM, for it to find jni files.
74+
75+ ```
76+ -Djava.library.path="/Path/to/cvc5/repository/cvc5/build/src/api/java"
77+ ```
78+
79+ Hard part is that there are tests which are running under ` maven-surefire-plugin ` .
80+ Today's solution is not idiomatic, but a working one.
81+
82+ The pom file need to be changed. Line
83+ ``` xml
84+ <argLine >-Dgumtree.match.gt.minh=1></argLine >
85+ ```
86+ to
87+
88+ ``` xml
89+ <argLine >-Dgumtree.match.gt.minh=1 -Djava.library.path="/Path/to/cvc5/repository/cvc5/build/src/api/java"</argLine >
90+ ```
You can’t perform that action at this time.
0 commit comments