I have a NetBeans platform application with 2 modules having different versions of same native library.
I added the native library inside release/module/lib folder under each module. [as per http://wiki.netbeans.org/DevFaqWrapperModules section: How do I include native libraries (.so or .dll) in my library wrapper module?]
But the problem is during the final build generation of the application, native libraries are copied to build\cluster\modules\lib folder. i.e only one version of my native library exists inside lib folder as both versions have same name. Now my question is can I specifically mention in Netbeans that jar (Version 1) should take native lib (ver1) and jar (Version 2) should refer to native lib (version 2).