This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Add support to recognize events from the same FS.AtomicAction. RepositoryUpdater needs to find which events are related by FS.AtomicAction. Currently it's not possible if you don't have the action. Use case: http://www.netbeans.org/issues/show_bug.cgi?id=134805
Created attachment 86405 [details] FileEvent.runWhenDeliveryOver
Seems reasonable. BTW "immediately" is misspelled as "immediatelly" 8x.
The patch works fine for us.
The patch looks ok to me as well. I think I'll use it in org.netbeans.modules.editor.mimelookup.impl.CompoundFolderChildren (eg. see #161201 and #168536).
JS01: FileObjectTestHid.testFireFileRenamedEvent_FS fails in masterfs.FileBasedFileSystemTest and FileBasedFileSystemWithExtensionsTest because rename is not done in atomic action. Otherwise looks OK to me.
Created attachment 86466 [details] Updated patch. Fixed spelling. masterfs tests now pass.
I'll integrate the tomorrow: http://www.netbeans.org/nonav/issues/showattachment.cgi/86466/RunWhenDeliveryOver.diff
core-main#32b89f63cf8e
The integration text shall in fact be "Batch events can now be post processed"
Thanks Jardo
Integrated into 'main-golden', will be available in build *200908251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/32b89f63cf8e User: Jaroslav Tulach <jtulach@netbeans.org> Log: #170544: Batch events can not be post processed with runWhenDeliveryOver