-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ingvord edited this page Feb 28, 2020
·
4 revisions
Generate header:
javah -cp src/main/java/ hzg.wpn.nexus.libpniio.jni.LibpniioJni
Move generated header into cpp project:
mv hzg_wpn_nexus_libpniio_jni_LibpniioJni.h jni_cpp/src
Release without tests:
mvn -DskipTests -Darguments="-DskipTests" release:prepare release:perform
Run docker to build jni:
docker build -t libpni:latest .
docker run -it -v
pwd:/src libpni:latest /bin/bash