JxFileWatcher 1.4 contains the following features and improvements:
Implemented a new efficient file watcher mechanism for Mac OS X systems;
Solved the issue with locating system glibc library on 64-bit Linux platforms;
Solved improper native exception handling on 64-bit Linux platforms;
Fixed the issue with handling "Renamed" file events on SMB folders in Windows implementation.
New features and improvements:
- Added support of Mac OS X Mountain Lion (10.8) platform and JDK 1.7 (32-bit and 64-bit modes);
- Added support of Windows 8 platform (32-bit and 64-bit modes).
- Improved events reporting when files are moved between watching folders. Platforms: MAC OS X 10.6
- Added processing of file events when files are moved into watching scope or out of watching scope. Platforms: Linux
- Introduced ability to report “moved” event. It can be turned on with option -Dteamdev.jxfilewatcher.reportMoveEvents=true. Platforms: MAC OS X, Linux
- Improved the path reported in “renamed” events. Platforms: Linux
- Improved watcher behavior when watched items moved to trash. Platforms: MAC OS X, Linux
- Improved compatibility with Ubuntu 10.x, Fedora 11.x and others similar platforms
- Improved monitoring events in sub-folders. Platforms: Linux
- Introduced watcher state events. Platforms: Windows, Mac OS X, Linux
- Improved behavior of the library when watching folder is removed. Platforms: Windows, Mac OS X, Linux
- Added ability to stop file watcher when the file limit is exceeded. Platforms: MAC OS X.
- Fixed Java generics in the public API. Platforms: Windows, Mac OS X, Linux
- Fixed the issue with loosing some file events in stress conditions. Platforms: Windows
- Corrected treatment of sub-tree attribute: the sub-folders are not monitored if the corresponding attribute is not set.
- Added JxFileWatcher library jar without JNIWrapper code inside. This version is intended for applications that already use JNIWrapper library.
- Added OSGi bundle information.
JxFileWatcher 1.0 contains fixing of problems in file and events filtering that were found in EAP version.
There are several limitations that will be removed in one of the next versions of JxFileWatcher:
- Watcher does not work for a folder that contains more than 10 000 files (Platforms: Mac OS X).
- JxFileWatcher does not handle the situation when a watched folder is unmounted at runtime (for example, when you watching for events of a removable (flash) drive). (Platforms: all).
- JxFileWatcher does not support hard links (Platforms: Linux).
Your ideas about improvement of our new library are welcome. If you want to have support for another platform of your choice, just let us know.