This package exposes the functionality of the SlunkCrypt library to to Java developers.
Please see the {@see com.muldersoft.slunkcrypt.SlunkCrypt} class for details!
First the "native" SlunkCrypt library needs to be built, if not done yet:
$ cd /home/JohnnyBeSlunk/dev/SlunkCrypt $ make -B SHARED=1
Now build the SlunkCrypt Java wrapper package:
$ cd binding/java $ ant
Apache Ant and Apache Ivy are required for buildig the SlunkCrypt Java wrapper from the sources using the provided build.xml file.
Note: The file ivy.jar should be located in the ANT_HOME/lib directory.
$ export ANT_OPTS=-Djna.library.path=$PWD/../../libslunkcrypt/lib $ ant test
The JUnitLauncher (JUnit 5) is required to run the unit tests. All other required JUnit 5 libraries will be fetched automatically by Ivy.
Note: The file ant-junitlauncher.jar should be located in the ANT_HOME/lib directory.