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 53378

Summary: Project files not being reopened in all circumstances
Product: projects Reporter: Jesse Glick <jglick>
Component: Generic Projects UIAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 44319    

Description Jesse Glick 2005-01-13 19:09:53 UTC
050113 custom. It seems that when I close a
project, private.xml is correctly updated with a
list of open files (which are closed); but they
are not reopened when I reopen the project.
Comment 1 Jiri Rechtacek 2005-01-14 08:41:35 UTC
(Build 050112 custom) Works for me with a j2seproject and with a
nbproject. Which project type doesn't work? Which type of file?
Comment 2 Milan Kubec 2005-01-14 09:03:39 UTC
Doesn't work for me. I have dev build 200501121900 and working only
with j2seproject. I had couple of java files and form files opened and
after closing and reopening the project, no files were opened for me.
Comment 3 Jesse Glick 2005-01-14 19:08:27 UTC
I think I observed it with j2seproject's only, but can see it today in
an NBM project too (core).

Might be related to fix of issue #53379.
Comment 4 Jesse Glick 2005-01-14 19:29:02 UTC
No, I see it now. It does not work if you use the File -> Open Recent
Project submenu; ProjectUtilities.openProjectFiles is never called.
This method is only called from the OpenProject action (File -> Open
Project).

Fix it so that any opening of a project (except the fake "opening"
during starting the IDE) calls PU.oPF: Open Recent Project,
OpenProjects.open(...), etc.
Comment 5 Jiri Rechtacek 2005-01-17 09:41:04 UTC
Will be fixed ASAP.
Comment 6 Jiri Rechtacek 2005-01-18 17:19:56 UTC
Checking in src/org/netbeans/modules/project/ui/OpenProjectList.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java,v
 <--  OpenProjectList.java
new revision: 1.29; previous revision: 1.28
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/modules/project/ui/actions/OpenProject.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/OpenProject.java,v
 <--  OpenProject.java
new revision: 1.8; previous revision: 1.7
done