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.
Summary: | Eliminate the JSF 1.1 library (under Sun Binary Code License) | ||
---|---|---|---|
Product: | javaee | Reporter: | Petr Jiricka <pjiricka> |
Component: | JSF | Assignee: | Radko Najman <rnajman> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pbuzek, potingwu, ppisl |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 96143 | ||
Bug Blocks: | 90674 | ||
Attachments: |
No such bundle org/netbeans/modules/deployment/deviceanywhere/library/Bundle
Another exceptions found when selecting JSF framework |
Description
Petr Jiricka
2007-02-19 15:26:48 UTC
Added JSF 1.2 library and modified JSF support to use it. Checking in web/jsf12/nbproject/project.xml; /cvs/web/jsf12/nbproject/project.xml,v <-- project.xml initial revision: 1.1 done RCS file: /cvs/web/jsf12/nbproject/.cvsignore,v done Checking in web/jsf12/nbproject/.cvsignore; /cvs/web/jsf12/nbproject/.cvsignore,v <-- .cvsignore initial revision: 1.1 done RCS file: /cvs/web/jsf12/nbproject/project.properties,v done Checking in web/jsf12/nbproject/project.properties; /cvs/web/jsf12/nbproject/project.properties,v <-- project.properties initial revision: 1.1 done Checking in web/external/build.xml; /cvs/web/external/build.xml,v <-- build.xml new revision: 1.44; previous revision: 1.43 done Checking in web/external/.cvsignore; /cvs/web/external/.cvsignore,v <-- .cvsignore new revision: 1.35; previous revision: 1.34 done RCS file: /cvs/web/external/jsf-1.2.zip,v done Checking in web/external/jsf-1.2.zip; /cvs/web/external/jsf-1.2.zip,v <-- jsf-1.2.zip initial revision: 1.1 done Checking in web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.form; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.form,v <-- JSFConfigurationPanelVisual.form new revision: 1.6; previous revision: 1.5 done Checking in web/jsf/src/org/netbeans/modules/web/jsf/wizards/Bundle.properties; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.9; previous revision: 1.8 done Checking in web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanel.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanel.java,v <-- JSFConfigurationPanel.java new revision: 1.7; previous revision: 1.6 done Checking in web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java,v <-- JSFConfigurationPanelVisual.java new revision: 1.10; previous revision: 1.9 done Checking in nbbuild/cluster.properties; /cvs/nbbuild/cluster.properties,v <-- cluster.properties new revision: 1.264; previous revision: 1.263 done Checking in web/jsf/src/org/netbeans/modules/web/jsf/JSFFrameworkProvider.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/JSFFrameworkProvider.java,v <-- JSFFrameworkProvider.java new revision: 1.17; previous revision: 1.16 done RCS file: /cvs/web/jsf/src/org/netbeans/modules/web/jsf/JSFUtils.java,v done Checking in web/jsf/src/org/netbeans/modules/web/jsf/JSFUtils.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/JSFUtils.java,v <-- JSFUtils.java initial revision: 1.1 done RCS file: /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/layer.xml,v done Checking in web/jsf12/src/org/netbeans/modules/web/jsf12/layer.xml; /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/layer.xml,v <-- layer.xml initial revision: 1.1 done RCS file: /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/Bundle.properties,v done Checking in web/jsf12/src/org/netbeans/modules/web/jsf12/Bundle.properties; /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/Bundle.properties,v <-- Bundle.properties initial revision: 1.1 done RCS file: /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/jsf12.xml,v done Checking in web/jsf12/src/org/netbeans/modules/web/jsf12/jsf12.xml; /cvs/web/jsf12/src/org/netbeans/modules/web/jsf12/jsf12.xml,v <-- jsf12.xml initial revision: 1.1 done Checking in web/jsf/nbproject/project.xml; /cvs/web/jsf/nbproject/project.xml,v <-- project.xml new revision: 1.21; previous revision: 1.20 done RCS file: /cvs/web/jsf12/build.xml,v done Checking in web/jsf12/build.xml; /cvs/web/jsf12/build.xml,v <-- build.xml initial revision: 1.1 done RCS file: /cvs/web/jsf12/.cvsignore,v done Checking in web/jsf12/.cvsignore; /cvs/web/jsf12/.cvsignore,v <-- .cvsignore initial revision: 1.1 done RCS file: /cvs/web/jsf12/manifest.mf,v done Checking in web/jsf12/manifest.mf; /cvs/web/jsf12/manifest.mf,v <-- manifest.mf initial revision: 1.1 done ... and Checking in deps.txt; /cvs/ide/golden/deps.txt,v <-- deps.txt new revision: 1.586; previous revision: 1.585 done Checking in modules.txt; /cvs/ide/golden/modules.txt,v <-- modules.txt new revision: 1.154; previous revision: 1.153 done Checking in files-layout.txt; /cvs/ide/golden/files-layout.txt,v <-- files-layout.txt new revision: 1.254; previous revision: 1.253 done Removed JSF 1.1 library. Checking in jsf/nbproject/project.properties; /cvs/web/jsf/nbproject/project.properties,v <-- project.properties new revision: 1.17; previous revision: 1.16 done Checking in external/build.xml; /cvs/web/external/build.xml,v <-- build.xml new revision: 1.45; previous revision: 1.44 done Checking in external/.cvsignore; /cvs/web/external/.cvsignore,v <-- .cvsignore new revision: 1.36; previous revision: 1.35 done Removing external/jsf-license.txt; /cvs/web/external/jsf-license.txt,v <-- jsf-license.txt new revision: delete; previous revision: 1.2 done Removing external/jsf-1.1.zip; /cvs/web/external/jsf-1.1.zip,v <-- jsf-1.1.zip new revision: delete; previous revision: 1.2 done Checking in jsf/src/org/netbeans/modules/web/jsf/resources/layer.xml; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/resources/layer.xml,v <-- layer.xml new revision: 1.13; previous revision: 1.12 done Checking in jsf/src/org/netbeans/modules/web/jsf/resources/Bundle.properties; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/resources/Bundle.properties,v <-- Bundle.properties new revision: 1.8; previous revision: 1.7 done Removing jsf/src/org/netbeans/modules/web/jsf/resources/jsf.xml; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/resources/jsf.xml,v <-- jsf.xml new revision: delete; previous revision: 1.5 done Checking in jsf/build.xml; /cvs/web/jsf/build.xml,v <-- build.xml new revision: 1.7; previous revision: 1.6 done I looked at the implementation and there are my comments: PP01: If there is not registered any jsf library in the IDE, the registered libraries radio button should be disabled. In the current state there is disabled only the combobox (which is empty) and when you select the Registered libraries the combobox is enabled. PP02: The Finish button should be enabled only when: A registered library is selected or when correct data for creating new jsf librarys are entered or user choose Don't append any library. PP03: Now there is not check, whether the forlder for creating jsf library are correct. PP04: There is not recognized the JSF 1.2 library, which is already registered in the Library manager. Reopening the issue. PJ01: Label "Don't append any library" should be changed to "Do not append any library." The norm is not to abbreviate labels in the UI. The removing of JSF 1.1 library causes Unresolved Reference Problem ("jsf" library could not be found) when trying to open a web+JSF framework project created by NetBeans 5.5! Do we have good solution for the users? Creating a users defined JSF 1.1 library looks like not an one-step trivial task. They needs to know what jar files to include and somehow know how NetBeans Library Manager works. Not difficult for >1 year NetBeans users, but for new learners, it is not easy. I found users can virtually create a new JSF 1.1 project and create the JSF 1.1 library under the new Libraries tab. Then opening their old NetBeans 5.5 JSF 1.1 projects can just resolve the missing references by using this new library. But again, the workaround is not clear enough too. This is a problem and we knew about this regression. But the removing JSF 1.1 from standard distribution is necessary step to get NetBeans into linux distributions. Basically there is not a direct solution in the current build. The JSF 1.1 library should be on the autoupdate and the resolving missing JSF 1.1 should be handled better. A few mentioned wizard's issues addressed. Library tab initialization needs to be improved to better set initial values. Checking in JSFConfigurationPanelVisual.form; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.form,v <-- JSFConfigurationPanelVisual.form new revision: 1.7; previous revision: 1.6 done Checking in JSFConfigurationPanelVisual.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java,v <-- JSFConfigurationPanelVisual.java new revision: 1.11; previous revision: 1.10 done Checking in Bundle.properties; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.10; previous revision: 1.9 done Improved error messages. Checking in JSFConfigurationPanelVisual.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java,v <-- JSFConfigurationPanelVisual.java new revision: 1.12; previous revision: 1.11 done Checking in Bundle.properties; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.11; previous revision: 1.10 done Improved initial libraries settings. Checking in JSFConfigurationPanelVisual.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java,v <-- JSFConfigurationPanelVisual.java new revision: 1.13; previous revision: 1.12 done After update to the new 'libraries init', I got the following exceptions (attached): No such bundle org/netbeans/modules/deployment/deviceanywhere/library/Bundle Created attachment 44482 [details]
No such bundle org/netbeans/modules/deployment/deviceanywhere/library/Bundle
Created attachment 44483 [details]
Another exceptions found when selecting JSF framework
After a clean cvs and build, I don't see the following error! Sorry for the false alarm! No such bundle org/netbeans/modules/deployment/deviceanywhere/library/Bundle Trying to prevent NPE. (I cannot reproduce it, describe steps to reproduce next time, please) Checking in JSFConfigurationPanelVisual.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFConfigurationPanelVisual.java,v <-- JSFConfigurationPanelVisual.java new revision: 1.15; previous revision: 1.14 done verified Product Version: NetBeans IDE Dev (Build 200811011401) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb) |