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.
Changes in non-java files such as property files are not handled by compile on save infrastructure. No events are fired so Java EE project/infrastructure can't notify server plugin to reload the application.
Petr, could you please be more specific? What are you listening on? What events are you expecting to arrive? Could you describe a simple test scenario? Thanks a lot
We are listening via BuildArtifactMapper.addArtifactsUpdatedListener. However only events for updated sources are delivered. Users expect even changes in property files or other resources placed in source root will have Compile/Deploy on save effect. So there is need to deliver events via existing or new infrastructure for such events-files. Also see the issue which this issue blocks for real usecase.
*** Issue 168591 has been marked as a duplicate of this issue. ***
I tried to do resources copying, only for the Web projects case: http://hg.netbeans.org/main-silver?cmd=changeset;node=0f1ddc25c805
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0f1ddc25c805 User: Jan Lahoda <jlahoda@netbeans.org> Log: #167170: automatically synchronize resources to target folder for Deploy on Save.