-
One thing which should be easy to do is to add a printstacktrace when the exception is caught - so that you can see exactly what is the original exception (I've been thinking of doing this for every try-catch, but havent yet got around to it :( ).
I dont have a java compiler right now but will try to send you a recompiled "class" file by email - with which you can replace the...
2009-04-27 08:38:28 UTC in Directory Poller
-
Hm. The message is caused by a FileNotFoundException raised in the main execution cycle (see http://jpoller.cvs.sourceforge.net/viewvc/jpoller/jpoller/source/org/sadun/util/polling/DirectoryPoller.java?revision=1.21&view=markup, lines 955-995). If bypasslocked is set, a RandomAccessFile is created on the file in readwrite mode, so that its io channel can be retrieved and a lock acquired over...
2009-04-24 14:53:41 UTC in Directory Poller
-
Hei. Posted on CVS a change that realizes the behaviour you describe - it's an excellent idea.
Havent managed to test yet tough, but you can try to build and see if you see an improvement in performance.
-cristiano.
2009-02-02 21:24:50 UTC in Directory Poller
-
crsadun committed patchset 46 of module jpoller to the Directory Poller CVS repository, changing 4 files.
2009-01-29 18:44:54 UTC in Directory Poller
-
Hei, that's most welcome!
If you create a patch or send me the code I'll add it and make up a new release. Please include your email or other data you want for the credit.
2008-05-01 08:34:43 UTC in Directory Poller
-
Do you have the bypasslockedfile feature on?.
2008-03-05 12:38:32 UTC in Directory Poller
-
Hei,
thanks for your comment. Automove in JPoller is at the moment implemented simply as a renameTo() operation on a File object. JDK1.4 stated simply that the operation might fail (JPoller will raise an AutomoveException in case it does fail). From JDK1.5 documentation on, Sun added that the operation is platform-dependent and not necessarily atomic, which may explain the behavior you...
2008-03-05 12:08:28 UTC in Directory Poller
-
Hello.
UNC support in JPoller is implemented by an update in the PathNormalizer class in the supporting library org.sadun.util.jar (see http://sadun-util.cvs.sourceforge.net/sadun-util/Utility%20classes/source/org/sadun/util/PathNormalizer.java?r1=1.3&r2=1.4). Windows is recognized by looking at the os.name property, and the object can recognize the UNC syntax and concatenate the correct...
2008-02-28 22:34:40 UTC in Directory Poller
-
Hei!
Thanks for your note! I'll check it out and post a patch - the time for developing has increased markedly in the last two years but a fix like this doesn't seem that hard :)
2008-02-17 11:26:51 UTC in Java utility classes
-
Hello,
no, it doesn't. It's a good idea, but it has a bit of dependencies (from org.sadun.util) and I haven't got around to do the proper splitting and glueing yet.
Help is welcome if you like :)
2007-12-03 14:17:18 UTC in Directory Poller