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 62915 - After rename, project which was set as main is NOT set as main.
Summary: After rename, project which was set as main is NOT set as main.
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 63037 (view as bug list)
Depends on: 58461
Blocks:
  Show dependency tree
 
Reported: 2005-08-24 09:17 UTC by Tomas Danek
Modified: 2005-09-05 10:10 UTC (History)
0 users

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 Tomas Danek 2005-08-24 09:17:44 UTC
start with clear ide. 
Create some J2SE project (JavaApplication1). Set this project as main.
Rename this project.
Project is after rename not main,and it's name is not bold.
Comment 1 Jan Lahoda 2005-08-24 14:52:17 UTC
True. The same for Project Rename. Depends on the get/setMainProject API, see
issue #58461.
Comment 2 Jan Lahoda 2005-08-25 12:17:06 UTC
*** Issue 63037 has been marked as a duplicate of this issue. ***
Comment 3 Jan Lahoda 2005-08-25 12:17:17 UTC
I ment: the same for project move.
Comment 4 Jan Lahoda 2005-08-26 12:32:33 UTC
Should be fixed by this commit:
Checking in
projectuiapi/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java;
/cvs/projects/projectuiapi/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java,v
 <--  DefaultProjectOperationsImplementation.java
new revision: 1.3; previous revision: 1.2
done
Checking in
projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java;
/cvs/projects/projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java,v
 <--  DefaultProjectOperationsImplementationTest.java
new revision: 1.3; previous revision: 1.2
done
Comment 5 Tomas Danek 2005-08-31 09:51:54 UTC
Honzo, I've to reopen.

My steps:

Create javaapp1 and javaapp2
Javaapp2 is set as main project.
Rename javaapp1.
After rename,javaapp1 becomes a main project.
Comment 6 Jan Lahoda 2005-09-01 08:34:03 UTC
Should be OK now:
Checking in
src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java;
/cvs/projects/projectuiapi/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java,v
 <--  DefaultProjectOperationsImplementation.java
new revision: 1.5; previous revision: 1.4
done
Checking in
test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java;
/cvs/projects/projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java,v
 <--  DefaultProjectOperationsImplementationTest.java
new revision: 1.5; previous revision: 1.4
done
Comment 7 Tomas Danek 2005-09-02 10:44:52 UTC
yes, ok now, verified in 20050901