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 213096 - After changing the display project name, the setting of the main project isn't synchronized
Summary: After changing the display project name, the setting of the main project isn'...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 12:54 UTC by Martin Janicek
Modified: 2014-07-19 10:15 UTC (History)
2 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 Martin Janicek 2012-05-28 12:54:21 UTC
To reproduce :

- Clean user dir
- Create two maven projects from gmaven-archetype-base (New Maven project -> archetype gmaven-maven-plugin)
- In the pom.xml, change the value of the node "name"
- Go to the menu "Run" -> "Set Main project"
Comment 1 Martin Janicek 2012-12-05 10:12:01 UTC
Ok, at the end this has nothing to do with groovy (sorry milosi:))

- Clean user dir
- Create two Maven java applications
- In the second project pom.xml, change name attribute to "blablabla"
- Go to the menu "Run" -> "Set Main project"

--> Expected: "mavenproject1" and "blablabla"
--> Actual: "mavenproject1" and "mavenproject2"
Comment 2 Milos Kleint 2012-12-05 13:11:15 UTC
The submenu in mainmenu is only updated on project open/close events. in between it's cached.

we would have to listen on ProjectInformation of the given project and later remove the listener when deconstructing the submenu on open/close. feasible, not important IMHO, just a minor visual glitch.
Comment 3 Martin Kozeny 2014-07-11 16:23:29 UTC
https://hg.netbeans.org/core-main/rev/32dcd20f096c
Comment 4 Quality Engineering 2014-07-19 10:15:42 UTC
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/32dcd20f096c
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #213096: After changing the display project name, the setting of the main project isn't synchronized.