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 205314 - jsp-compilation-syscp dep on web.jsf20
Summary: jsp-compilation-syscp dep on web.jsf20
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-19 15:37 UTC by Jesse Glick
Modified: 2016-07-07 08:56 UTC (History)
1 user (show)

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 Jesse Glick 2011-11-19 15:37:54 UTC
Build enterprise cluster but then in Plugin Manager select JSF and Uninstall. Now run ValidateLayerConsistencyTest =>

junit.framework.AssertionFailedError: No improper nbinst URLs
org-netbeans-api-project-libraries/Libraries/jsp-compilation-syscp.xml: cannot open nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-impl.jar: java.io.FileNotFoundException: Cannot find: nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-impl.jar
org-netbeans-api-project-libraries/Libraries/jsp-compilation.xml: cannot open nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-api.jar: java.io.FileNotFoundException: Cannot find: nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-api.jar
	at org.netbeans.core.validation.ValidateLayerConsistencyTest.assertNoErrors(ValidateLayerConsistencyTest.java:167)
	at org.netbeans.core.validation.ValidateLayerConsistencyTest.testNbinstHost(ValidateLayerConsistencyTest.java:968)

The problem is that these two libs are defined in the relatively generic web.core, yet assume the presence of JARs bundled with web.jsf20 which would not be available unless JSF support were also installed.

Solution would be to either remove these JARs from the lib definitions, or move the lib definitions to some JSF-specific module.
Comment 1 Martin Fousek 2011-11-21 07:25:01 UTC
> The problem is that these two libs are defined in the relatively generic
> web.core, yet assume the presence of JARs bundled with web.jsf20 which would
> not be available unless JSF support were also installed.

I took a look on the issue #192308 where the dependency on JSF libraries was added and it seems to me that jasper needed this dependency to compile .jsp pages properly.

> Solution would be to either remove these JARs from the lib definitions, or move
> the lib definitions to some JSF-specific module.

It would probably bring new regressions by compiling JSPs. But since there is needs for JSF library wouldn't be correct solution to define dependency on the web.jsf20 library? So the library itself wouldn't uninstalled together with JSF support.
Comment 2 Martin Balin 2016-07-07 08:56:15 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss