Please use the Apache issue tracking system for new NetBeans 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
PC Windows XP
: P3 with 2 votes (vote)
Assigned To: issues@uml
Depends on:
  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:


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 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 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 
(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