[zeromq-dev] jzmq: embedding native library in JAR
gonzalo diethelm
gdiethelm at dcv.cl
Mon May 30 22:27:28 CEST 2011
> > 1. By default, not including any native libraries in the JAR.
>
> Yes.
OK.
> > 2. Allow for having multiple native libraries in the JAR, maybe
> structured by platform, compiler, version: win32/vcc/2.1/0mq.dll,
> win32/mingw/3.0/0mq.dll, linux/gcc/3.0/0mq.so, etc.
> >
>
> No, only by architecture / operating system. Not by compiler. At
> runtime, only architecture and os are available to determine where to
> look for the library within the JAR.
I was just going overboard there... Architecture / OS should be enough. Unless version is also deemed useful / necessary / usable?
> > 3. Allow for including one or more native libraries in the JAR, if the
> user specifies it at build time.
>
> Yes, by default the JAR will be created without any native libraries.
> Then we can provide instructions on how to manually add the JNI binary
> to the JAR as an extra step.
OK.
> I will modify my pull request accordingly.
Great. Once that is ready, I will pull.
--
Gonzalo Diethelm
More information about the zeromq-dev
mailing list