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 - Filename format does not work
Summary: Filename format does not work
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 11:41 UTC by Alexandr Scherbatiy
Modified: 2007-06-14 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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