I\'m writing a plugin for a program written in C++.
Plugins are placed in a specific dir and get called by the main application. I would like to write most of the pl
JNI should be pretty straightforward for this.
I would approach it this way:
You can test your uber-jar from step 2 via a simple standalone java test harness that creates the main clojure class and invokes the appropriate methods; this will let you know that you have a good java/clojure jar in case you run into any issues in the jni invocation in step 3.
As you check the jni references pay particular attention to the slight/subtle calling differences between the c and c++ jni linkages.
Good luck.