[zeromq-dev] jzmq: embedding native library in JAR

Karl Ostendorf karl at ostendorf.com
Sun Jun 5 20:34:02 CEST 2011

Hi Gonzalo,

This is good news indeed. I can refactor the code, we can then limit
the points of contact between the native library code and the ZMQ and
App classes to a few lines.

Karl Ostendorf

On Thu, Jun 2, 2011 at 18:16, gonzalo diethelm <gdiethelm at dcv.cl> wrote:
>> I updated my pull request - I had to cancel the original request
>> through and replace it with a request from a new branch.
>> Maven will include the library in the JAR file if it exists in its
>> build directory (src/.libs). If it doesn't exist, Maven will not
>> include it and not even complain ;-) It the native library is included
>> in the JAR file, it will be used, otherwise the java.library.path will
>> be used.
> Hi Karl, I have just merged your pull request. Thanks for all the work.
> If you wish to collaborate something else: perhaps it would be a good idea to refactor all the code related to handling the native library, from ZMQ.java into a separate file.
> Best regards.
> --
> Gonzalo Diethelm
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list