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.

Bug 167170 - COS does not propagate non-class events
Summary: COS does not propagate non-class events
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 168591 (view as bug list)
Depends on:
Blocks: 145666
  Show dependency tree
 
Reported: 2009-06-16 16:17 UTC by Petr Hejl
Modified: 2009-09-25 09:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2009-06-16 16:17:06 UTC
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.
Comment 1 Vitezslav Stejskal 2009-09-16 09:39:33 UTC
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
Comment 2 Petr Hejl 2009-09-16 15:06:02 UTC
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.
Comment 3 Jan Lahoda 2009-09-21 08:05:07 UTC
*** Issue 168591 has been marked as a duplicate of this issue. ***
Comment 4 Jan Lahoda 2009-09-24 09:13:06 UTC
I tried to do resources copying, only for the Web projects case:
http://hg.netbeans.org/main-silver?cmd=changeset;node=0f1ddc25c805
Comment 5 Quality Engineering 2009-09-25 09:09:36 UTC
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.