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.
When I register a template using the layer file, I get a hint suggesting I "Replace with @Template". There is no @Template annotation, but I see @Template was proposed, but later became @TemplateRegistration. So I guess that the hint has not be updated when the annotation name changed during development. Extract from my layer file: .... <folder name="linsdale"> <folder name="datamodelcreator"> <folder name="privatetemplates"> <file name="database_create" url="builder/database_create.template" > <attr name="template" boolvalue="true" /> <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/> </file> .....
Right, should be @TemplateRegistration.
core-main #5fa2f2c8c873
Integrated into 'main-golden', will be available in build *201203010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5fa2f2c8c873 User: Jesse Glick <jglick@netbeans.org> Log: #208887: Incorrect hint when template registration is found in layer file