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.
see http://netbeans.org/bugzilla/show_bug.cgi?id=207855#c6 for details
Tip: you can use the syntax "bug #207855 comment #6" and it will be hyperlinked.
since we already permanently mark external source roots in ProjectOpenedHookImpl without ever releasing them, we might as well just do the same in the CopyResourcesOnSave class. Instead of having one global instance have one per project, switched on and off from the ProjectOpenedHookImpl
http://hg.netbeans.org/core-main/rev/2dd85d25f17b turns the static listener into a swarm of listeners per project. Project updates add/remove the relevant listeners. project open starts and project close ends the updating.. on a related note http://hg.netbeans.org/core-main/rev/cc148f53ea20 updates the external source roots during the time project is opened.
Integrated into 'main-golden', will be available in build *201203071105* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2dd85d25f17b User: Milos Kleint <mkleint@netbeans.org> Log: #208434 have the file change listener attached to current resource roots of the project. start on open, end on close, refresh on project change. only proceed with copying if coming from this project (one instance per project now, not global)