Skip to content

Commit 6434159

Browse files
Kirill GolubevKirill Golubev
authored andcommitted
jini files handling
1 parent c401924 commit 6434159

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

liquidjava-umbrella/liquidjava-verifier/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,14 @@
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>

liquidjava-umbrella/liquidjava-verifier/regarding_cvc5.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
```

0 commit comments

Comments
 (0)