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 65420

Summary: save manifest before is generated new data object from template
Product: apisupport Reporter: pzajac <pzajac>
Component: ProjectAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception

Description pzajac 2005-09-29 19:48:06 UTC
Steps to reproduce:
1) Open Manifest.mf for module project in editor.
2) Change it but no save. (The file is marked by * like unsaved)
3) Create new File Type object from template. After clicking to Finish button
the FileAlreadyLocked exception is thrown. Because the file is holded by editor.

I should be better to save the manifest before is modified.
Comment 1 pzajac 2005-09-29 19:49:23 UTC
Created attachment 25328 [details]
exception
Comment 2 Jesse Glick 2005-09-30 02:06:03 UTC
CreatedModifiedFiles could do this. Rather artificial case though.
Comment 3 Milos Kleint 2005-10-25 15:13:46 UTC
done.

Checking in
project/src/org/netbeans/modules/apisupport/project/CreatedModifiedFilesFactory.java;
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/CreatedModifiedFilesFactory.java,v
 <--  CreatedModifiedFilesFactory.java
new revision: 1.17; previous revision: 1.16
Comment 4 pzajac 2005-11-01 13:51:42 UTC
verified