datasift/jzmq — pull request #1 by nicktelford (2012-01-11 12:40:01+00:00)
Title: Bundle libzmq in jzmq JAR

JZMQ currently has a system dependency on the exact build of libzmq used to build jzmq. Since we don't care about portability (all machines are Linux) we can just bundle libzmq in the JAR and load it as we do the native libjzmq wrapper.

This should resolve two problems:

* Requiring everyone to have zeromq installed on their machine, even just to build a project that depends on it.
* ABI mismatches between jzmq and libzmq. This is pretty insidious as we often won't be notified of this until application runtime.

Critics may notice that this allows applications to run a different version of zeromq to the build installed on application machines. In practice however, this shouldn't be a problem as the different versions we've deployed are usually different enough to have an ABI change requiring a project rebuild anyway.