2011-01-28, 21:35
ventech Wrote:well i cant seem to find anything about how to do this over smb...
btw. just noticed that jdk7 will implement a watch service which does exactly what you explained, fallbacks to polling: http://java.sun.com/developer/technicalA...ase/nio/#6
Maybe you could take something from the api or code. If this isnt finished til the language refactor and java7 then at least an addon should be easy to produce
The code would most likely be in the vfs, i.e. each vfs addon needs to implement it. So for this to happen vfs needs to be redesigned. Something I have started with extremely rudimentary in my github