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 183933 - tag handler refactoring doesn't work in javaEE6 projects
Summary: tag handler refactoring doesn't work in javaEE6 projects
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks: 173299
  Show dependency tree
 
Reported: 2010-04-12 15:40 UTC by Jindrich Sedek
Modified: 2010-07-12 15:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
simple sample project (12.99 KB, application/octet-stream)
2010-04-15 08:22 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2010-04-12 15:40:59 UTC
Create new Web Application on Glassfish JavaEE6
create new Tag Library
create new Tag Handler and register it into the tag library using wizard
invoke Find Usages/Refactor on Tag Handler class name -> no usages are found in Tag Library

The same scenario works well in javaEE 5 projects
Comment 1 Petr Jiricka 2010-04-13 11:28:47 UTC
Alexey, can you please investigate? Thanks.
Comment 2 Alexey Butenko 2010-04-13 11:33:54 UTC
OK, looking into.
Comment 3 Alexey Butenko 2010-04-14 08:24:36 UTC
I've tried thees steps on build 100414, and usages are found in Tag Library.
Tried on Linux and Mac.
Comment 4 Jindrich Sedek 2010-04-15 08:22:40 UTC
Created attachment 97411 [details]
simple sample project

I'm still able to reproduce the problem
NetBeans IDE Dev (Build 201004150201)

just invoke find usages on NewTagHandler.java file in attached project -> 0 occurences are found
Comment 5 Alexey Butenko 2010-04-15 08:38:57 UTC
Ok, it is reproduced when project doesn't have web.xml.
Comment 6 Alexey Butenko 2010-04-15 10:00:57 UTC
http://hg.netbeans.org/web-main/rev/1db548a2f60b
Comment 7 Alexey Butenko 2010-04-15 10:05:06 UTC
http://hg.netbeans.org/web-main/rev/1db548a2f60b
Comment 8 Quality Engineering 2010-04-16 04:23:06 UTC
Integrated into 'main-golden', will be available in build *201004160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1db548a2f60b
User: Alexey Butenko <alexeybutenko@netbeans.org>
Log: #183933:  tag handler refactoring doesn't work in javaEE6 projects
Comment 9 Jindrich Sedek 2010-05-04 11:34:08 UTC
verified.
NetBeans IDE Dev (Build 201005040200)