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 208887 - Incorrect hint when template registration is found in layer file
Summary: Incorrect hint when template registration is found in layer file
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal with 1 vote (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 09:50 UTC by richard_l
Modified: 2012-03-01 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 richard_l 2012-02-27 09:50:02 UTC
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>
.....
Comment 1 Jesse Glick 2012-02-28 00:13:00 UTC
Right, should be @TemplateRegistration.
Comment 2 Jesse Glick 2012-02-28 00:13:24 UTC
core-main #5fa2f2c8c873
Comment 3 Quality Engineering 2012-03-01 11:02:07 UTC
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