This is a fork of https://github.com/gomezgoiri/CLIPSJNI
This project contains:
- An improved version of the CLIPSJNI java library, useful to create java applications that use CLIPS
- An improved version of the CLIPSJNI native library, which is required to be installed on your system to make the CLIPSJNI java library work.
I renamed the native library from CLIPSJNI to CLIPSJNI2 to avoid naming conflicts with the original CLIPSJNI, as someone may want to keep both versions for compatibility with other applications.
library-src
: the sources (written in C) of the CLIPSJNI native librarycompiled-library
: some compiled versions of the CLIPSJNI native librarysrc
: the sources of the CLIPSJNI java libraryexamples
: some examples (you don't say?)
Copy CLIPSJNI2 from compiled-library
(according to your platform), and paste it in a directory of your OS reachable by PATH.
CLIPSJNI2 has different names and extensions across different platforms, such as CLIPSJNI2.dll for Windows and libCLIPSJNI2.os for linux
If you can't find your platform in compiled-library
, you have to compile the CLIPSJNI native library manually (see next section)
If you need to generate the library from scratch, in the library-src
directory you will find a README
file which explains how to do it.
To compile CLIPSJNI2 you must have a jdk installed in your system, with all the environment variables configured correctly.
If you compile CLIPSJNI2 for a platform which is not present in compiled-library
, please send me a pull request to include it here, or just let me know opening an issue
To install CLIPSJNI2 in your Maven local repository, simply run:
mvn install
This will also generate an OSGi compliant jar in the target
subfolder that you can use wherever you want.
You can find the original README here