Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 122646 - Template User Configuration Properties are not available
Template User Configuration Properties are not available
Status: NEW
Product: uml
Classification: Unclassified
Component: Code Generation
6.x
PC Windows XP
: P3 with 2 votes (vote)
: TBD
Assigned To: issues@uml
issues@uml
EXT-USER
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-23 15:22 UTC by roridge
Modified: 2011-11-01 18:00 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roridge 2007-11-23 15:22:00 UTC
When changing the Templates for code generation in either the CompliationUnit.java or the DecLib.ftl The User
Configuration Properties are not available.

So it is not possible to generate a class javadoc:
/*
* Copyright ${year}
* @author ${user}
*/

because ${user} is not recognised by default, and ${year} is not recognised from my User.properties file.
Comment 1 Viktor Lapitski 2008-01-15 22:53:21 UTC
in current release the only data available in templates is model data 
API-accessible starting from ${modelElement} which is an instance of 
org/netbeans/modules/uml/core/metamodel/infrastructure/coreinfrastructure/IClassifier
(can be found under <netbeans_cvs_root>/uml/core/src/...)
Comment 2 ulfzibis 2011-11-01 18:00:24 UTC
See also: Bug 145109


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo