-
Notifications
You must be signed in to change notification settings - Fork 27
Be optimistic with jcocoa library, in case it is already loaded. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Thanks. I have some other changes in the branch "maven" that I'm planning on merging with master soon so I'm not going to merge this pull request yet. I'm going to make the equivalent change to the maven branch first. |
If you prefer, I can make the same changes to the "maven" tree. |
Sure. That would be helpful. |
If I am not mistaken, the maven version of the library has the binary On Mon, Sep 29, 2014 at 6:05 PM, Steve Hannah [email protected]
Panayotis Katsaloulis |
Yes. The native library is inside the jar in the maven version. I am working toward making it load automatically from the jar ... I still need to make some changes. However it still has to go through the process of extracting the library out of the jar and loading it using System.loadLibrary(), so your patch is not completely obsolete.... |
I saw that this is the same approach as what JNA does. On Thu, Oct 16, 2014 at 10:38 PM, Steve Hannah [email protected]
Panayotis Katsaloulis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ondolatok a JNA # 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legyen optimista a jcocoa könyvtárral, ha már be van töltve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be optimistic with jcocoa library, in case it is already loaded.
Is this dead? |
Not dead. Just don't get a lot of time to work on it. I use it in quite a few of my own projects. Haven't merged this pull request, because haven't had a chance to test it. |
@teras can you please merge develop into your branch and then I'll have a look at the PR. |
It would be great if something like this could be merged. This would be very useful to me. |
Just be a little more optimisitc with native library loading, in case it is already loaded in advance with something like
System.load(".../libjcocoa.dylib");
in order to get rid of the java.library.path depedency, in case we already know the absolute library path.