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 - save manifest before is generated new data object from template
Summary: save manifest before is generated new data object from template
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 19:48 UTC by pzajac
Modified: 2005-11-01 13:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (6.65 KB, text/plain)
2005-09-29 19:49 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
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