Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Pluggable Library loading mechanism

closed
nobody
None
5
2010-04-23
2010-04-20
Christian Sprajc
No

Thanks for this awesome lib. I just updated to release 0.93 within PowerFolder ( https://sourceforge.net/projects/powerfolder-/ )

Currently I have to include the whole source code to tweak the library loading mechanism.
It would be great to have a pluggable loading mechanism, which by default uses System.loadLibarary but offers options to replace/override this mechanism.

Discussion

  • Omry Yadan
    Omry Yadan
    2010-04-23

    • status: open --> closed
     
  • Omry Yadan
    Omry Yadan
    2010-04-23

    Hi Christian,
    I added an option to override the automatic OS detection by setting jnotify.impl.override system propery to a class name that implements INotify.
    you need to do this before the JNotify class is loaded.

    to test it build JNotify from CVS.

     
  • Omry's override code is included in 0.94.