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 176771 - Icefaces 1.8.1 break jsf editor support
Summary: Icefaces 1.8.1 break jsf editor support
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 03:44 UTC by Marek Fukala
Modified: 2009-11-16 03:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exceptions from ide log file (5.53 KB, text/plain)
2009-11-13 03:44 UTC, Marek Fukala
Details
Diff of the original ConfigManager and the patched version in netbeans (1.55 KB, patch)
2009-11-13 05:12 UTC, Marek Fukala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2009-11-13 03:44:48 UTC
Created attachment 90979 [details]
The exceptions from ide log file

1) create new web project with jsf support
2) add icefaces into the libraries
=> exception from parsing appears, editor not usable.
Comment 1 Marek Fukala 2009-11-13 04:53:21 UTC
The problem here is that icefaces-facelets.jar contains also some sources and testing descriptors. The one ./src/test/META-INF/enverio.taglib.xml has a mistake in the doctype declaration (faclet-taglib_1_0.dtd should be facelet-taglib_1_0.dtd)

<!DOCTYPE facelet-taglib PUBLIC
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
  "http://java.sun.com/dtd/faclet-taglib_1_0.dtd">

The problem is that the Mojarra parsing code stops parsing the list of available library resources with an error if parsing of one of them produces an error.
Comment 2 Marek Fukala 2009-11-13 05:11:56 UTC
fixed in web-main#2eadda801c6f

I had to make our own copy of com.sun.faces.config.ConfigManager class to be able to fix this.
Comment 3 Marek Fukala 2009-11-13 05:12:39 UTC
Created attachment 90982 [details]
Diff of the original ConfigManager and the patched version in netbeans
Comment 4 Quality Engineering 2009-11-16 03:23:41 UTC
Integrated into 'main-golden', will be available in build *200911160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2eadda801c6f
User: Marek Fukala <mfukala@netbeans.org>
Log: #176771 -  Icefaces 1.8.1 break jsf editor support