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 87552

Summary: Programmatic calls to open/close projects do not manipulate open file list
Product: projects Reporter: Jesse Glick <jglick>
Component: Generic InfrastructureAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 44319, 50683    

Description Jesse Glick 2006-10-19 17:51:35 UTC
I was sure this was filed already, but I just cannot find it in Issuezilla after
quite a while looking.

If you call OpenProjects.getDefault().open/close(Project[]), files associated
with those projects should be opened or closed just as if you had opened or
closed the projects via the GUI. But in fact although open() reopens associated
files, close() does not save associated files. The call to
ProjectUtilities.closeAllDocuments in CloseProject should be moved to
OpenProjectList.close.
Comment 1 Jan Lahoda 2006-10-19 20:53:46 UTC
Issue #59041?
Comment 2 Jesse Glick 2006-10-19 21:56:38 UTC
That's it.

*** This issue has been marked as a duplicate of 59041 ***