peter-lawrey/Java-Thread-Affinity — pull request #24 by isopov (2012-03-05 10:46:06+00:00)
Title: Fix for Issue #11 - Eliminate the need to manually deal with LD_library path

Based on the code from: https://bitbucket.org/xerial/sqlite-jdbc/src/f6429dadc828/src/main/java/org/sqlite/SQLiteJDBCLoader.java

Checked that library is loaded on my system (Linux i386) - this compiled version is attached and may serve as an example for adding other platforms (refer also to https://bitbucket.org/xerial/sqlite-jdbc/src/f6429dadc828/src/main/resources/org/sqlite/native/).

1. I have not found instructions about code formatting, so please format them according to your rules.
2. Have left 2 TODOs in the code, as I don't know how you will want to deal with exceptions about not available java.io.tmpdir etc. Maybe it will be good option to react to some system property like "vanilla.java.affinity.useJavaLibraryPath" or to provide an option to supply path to the native library from properties as it is done in the SQLiteJDBC.
3. Version in pom.xml was bumped to "1.5.4-SNAPSHOT".