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 106189

Summary: Filename format does not work
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Code GenerationAssignee: issues@uml <issues>
Status: VERIFIED INVALID    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexandr Scherbatiy 2007-06-09 11:41:39 UTC
Steps to reproduce:
- goto Options->UML->Domain Templates
- remove existing row(s)
- add a row with
"{0}", "java, "", "CompilationUnit.java"  fields
- OK, Apply, OK.

- Create 'A' Class element
- Generate code for the element
  '{0}.java' file is created instead of 'A.java'
Comment 1 Peter Lam 2007-06-13 23:26:40 UTC
"{0}" is no longer used or implemented. "{name}" is now used but default is to leave it blank and it is using the class
name.
Comment 2 Alexandr Scherbatiy 2007-06-14 11:02:16 UTC
verified in netbeans-hudson-trunk-702-full.zip