On 11/22/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
Hi Steven!
> I put a monitor on a configuration file (not a folder). During testing
> I noticed that the monitoring doesn't recognize when the file is
> created. I get changed and deleted events but never a created event.
>
As far as I remember this is the same with all those native file system
monitors out there, you always have to monitor the directory to get the
create event.
I don't know if I would like to change it, even if it is a valid use
case, at least, it requires some in-depth thoughts ....
@Thorsten: how will your fam behave in such a situation?
Need to double-check but I am pretty sure the jci fam will send send
events for that. Sure it's a special case but the jci fam is
monitoring a java.io.File object. By definition a File object can be a
file or a directory ...and it does not necessarily have to exist. So I
agree with Steven here and this getting events is expected behavior in
my book.
cheers
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]