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.
Summary: | Backup files are created when generating from template under CVS filesystem. | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | mkleint |
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 12331 | ||
Bug Blocks: |
Description
Jiri Kovalsky
2001-09-03 16:28:12 UTC
Reassigning to java (dunno if that's the best place though). When doing backups, I don't create a backup for files that don't exist, once the fileObject exists and it's outputstream is requested (to be saved) I create a backup. I found out that for creating new from template, the original template is stored first and then replaced with the right stuff.. the template thingie is then saved as backup.. This is what the files differ at: "package Templates.Classes;" <snip the rest> Sorry, will not solve for 3.3: The template is instantiated (copied) on the disk first, then it is changed, reformatted, class is renamed and class members defined in the N.F.T. wizard are inserted. I plan to change this weird templatizing in 3.4/4.0 This is "as designed" for 3.3. Changing to a RFE. The solution depends on moving away from DataObject-bound services, so I will be linking more blockers for this to be implemented in the future. The backup files are no longer created. |