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 175472 - Updating parent pom.xml doesn't notify child projects to refresh so they realize they are now valid
Summary: Updating parent pom.xml doesn't notify child projects to refresh so they real...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 189442 (view as bug list)
Depends on: 201750
Blocks: 172502
  Show dependency tree
 
Reported: 2009-10-26 20:29 UTC by rdelaplante
Modified: 2011-09-08 20:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2009-10-26 20:29:36 UTC
I have a parent project with two sub-projects. I plan to release a new version, so I started by updating one of the
sub-project pom.xml files to specify the new version of the parent pom.xml.  I hadn't yet updated the parent pom.xml, so
when I saved it told me "Badly formed project".  Next I went to the parent pom.xml and updated its version.  After
pressing save the child project did not realize that it is now valid.  I had to make some kind of change to the child
pom.xml and press save for it to realize that it is now valid.
Comment 1 rdelaplante 2009-10-26 20:33:20 UTC
Maybe when you save changes to a pom.xml, NetBeans could look for any open projects that are sub-projects of this one
and notify them of the change so they can "refresh".  Maybe it would only notify sub-projects that are "badly formed".  
Comment 2 Antonin Nebuzelsky 2010-07-30 15:17:36 UTC
Reassigning to default owner.
Comment 3 Jesse Glick 2011-03-08 00:19:01 UTC
It would be nice generally if project reloading happened more automatically under a variety of circumstances.
Comment 4 Jesse Glick 2011-08-08 17:10:16 UTC
*** Bug 189442 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2011-08-08 21:23:05 UTC
core-main #5ebab4c6d07a
Comment 6 Quality Engineering 2011-08-10 21:33:51 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5ebab4c6d07a
User: Jesse Glick <jglick@netbeans.org>
Log: #175472: Updating parent pom.xml doesn't notify child projects to refresh so they realize they are now valid