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 21031 - Improper JSP version taglibrary template used to create new taglib
Summary: Improper JSP version taglibrary template used to create new taglib
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P1 blocker (vote)
Assignee: sgleason
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 01:21 UTC by Peter W Carlson
Modified: 2010-01-12 02:04 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 Peter W Carlson 2002-03-01 01:21:14 UTC
This is very very strange:

1st) It only appears to happen off of installations that were created using the 
installer, not from unzipping the zip file.

2nd) We have tried installing the same build using installers on two different 
Win2K machines and the problem always presents itself on one and never on the 
other.

What happens is that the old templates are used when a taglibrary is created.  
It's simple (though not at all consistent) to reproduce: Install from the 
installer, run the ide, create a new taglib and open it.  You will see the JSP 
1.1 template has been used.
Comment 1 sgleason 2002-03-01 03:23:32 UTC
The old template is coming from the old webadvanced ie templates. 
That was taken out when most of webadvanced was moved to opensource, 
or so we thought. 

As has been discussed, this does seem to be a strange build issue. 
I wanted to post where the old template is coming from. 

On the other hand, maybe the old templates are still there, but 
because of module ordering differences across platforms, sometimes
the old ones "win" while sometimes the new ones "win"?
Comment 2 sgleason 2002-03-01 20:29:53 UTC
There is an old tag library template in web/advanced (the tag library 
was separated into its own module and has a newer template). It was 
taken out once before, but slipped through our defenses when we were
distracted by opensourcing webadvanced, and made it back into the 
source base ;-)

It's been causing intermittent problems, such as sometimes "winning"
as the tag library template of choice when the IDE is installed from
the
installer (but not from the zip files). There must be some strange
timing
issues with when modules are loaded. 

In either case, the old template is a prime candidate for an ectomy. 
This involves taking out the template from CVS, and removing the
template
lines from web/advance/.../ie's layer.xml file. 

Fixed: IN=5747 P1: 21031  Remove old tag library template from
web/advanced
Comment 3 Peter W Carlson 2002-03-28 23:06:33 UTC
verified on orion trunk build 2002-03-27
Comment 4 Petr Jiricka 2002-04-23 10:08:59 UTC
Changing target milestone to FFJ 4.0
Comment 5 Petr Jiricka 2002-04-23 10:19:24 UTC
Changing target milestone to FFJ 4.0
Comment 6 Quality Engineering 2003-07-02 08:29:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.