Ticket #153 (closed task: fixed)
Opened 2010-08-23T11:03:53-05:00
Last modified 2010-08-31T12:05:15-05:00
Finish jar2lib project
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Jar2Lib | Version: | |
Severity: | non-issue | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
The jar2lib project is a way to wrap a Java library in C++ proxies, which invoke the Java code via JNI. It is based on Jace but does more, wrapping an entire JAR at a time, optionally renaming a list of constants to avoid C++ global namespace conflicts, and providing a CMake build file for compiling the resultant project into a native library.
With Brian's departure, the project was left in an unfinished state. It would be great to have it working so that we can wrap the ImageJ library for native use in-process.
loci-java:r6809 provides a working version of jar2lib.
It is capable of wrapping Bio-Formats and supporting libraries as before with the bf-cpp project. It can ostensibly wrap ij.jar as well, though there are a couple of remaining issues, which will be resolved on a separate ticket (#154).