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 164211 - Missing jars in JSF Extensions (Ajax) library
Summary: Missing jars in JSF Extensions (Ajax) library
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
: 163749 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-30 14:26 UTC by Milan Kuchtiak
Modified: 2009-05-05 18:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Missing jars (111.64 KB, image/png)
2009-04-30 14:27 UTC, Milan Kuchtiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2009-04-30 14:26:45 UTC
See the attachment
Comment 1 Milan Kuchtiak 2009-04-30 14:27:25 UTC
Created attachment 81321 [details]
Missing jars
Comment 2 Milan Kuchtiak 2009-04-30 14:37:55 UTC
This is related to the fact that 2 jars, specifically

jsf-extensions-common-0.1.jar
and
jsf-extensions-dynamic-faces-0.1.jar

are "installed" by visual web plugin that was moved to UC, for Netbeans 6.7.   
Comment 3 Milan Kuchtiak 2009-04-30 14:52:17 UTC
Increasing priority to p2.

Comment from P.Jiricka:

One problem with the jsf-extensions library (in the IDE, the display name is "JSF Extensions (Ajax)") is that when you 
look at the website where this library is developed: https://jsf-extensions.dev.java.net/, the latest version that was
released is 0.1rc8, and it almost a year ago.

So we are generating code for the user that uses some very experimental code, and encourage the user to ship this code
with their application. So I don't really think we should ship this library with the IDE. I believe that the
"ajax-enabled" option of the JSF from Entity wizard is the only place in the IDE that uses this library. So my preferred
solution would be to move this whole library (including the shale-remoting.jar file, which *is* in the IDE distribution)
to the update center. And when the user checks the "ajax-enabled" checkbox, display a warning saying that the "JSF
Extensions (Ajax)" library from the update center is required for this option to work.
Comment 4 Milan Kuchtiak 2009-04-30 14:52:28 UTC
*** Issue 163749 has been marked as a duplicate of this issue. ***
Comment 5 Kenneth Ganfield 2009-04-30 15:41:59 UTC
I think this is a good solution.
This means that the user could select the option, but their project would be badged with a warning after the wizard
finishes. They then need to install the plugin from the UC. The badge would then go away.
Comment 6 Milan Kuchtiak 2009-05-04 08:22:44 UTC
Yes, Ken.

I'll try to implement the solution suggested by P.Jiricka.
Comment 7 Milan Kuchtiak 2009-05-04 16:18:05 UTC
- created standalone library module: web.jsf.extension
- removed jsf-extensions library from web.jsf

Details:
http://hg.netbeans.org/main/rev/a48497d2e576
Comment 8 Quality Engineering 2009-05-05 07:53:07 UTC
Integrated into 'main-golden', will be available in build *200905050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a48497d2e576
User: mkuchtiak@netbeans.org
Log: #164211: create web.jsf.extensions library module, remove library from web.jsf
Comment 9 Milan Kuchtiak 2009-05-05 12:01:18 UTC
- moved shale-remoting.jar from web.jsf to web.jsf.extensions
- display warning message when JSF Extension (Ajax) isn't installed

Details:
http://hg.netbeans.org/main/rev/41682df9b882
http://hg.netbeans.org/main/rev/8f9a311f8a9c

I consider this issue fixed. The "JSF Extension (Ajax)" library module was created and the request was submitted to add
this module to UC. See the issue 164453.
Comment 10 Quality Engineering 2009-05-05 18:59:46 UTC
Integrated into 'main-golden', will be available in build *200905051401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/41682df9b882
User: mkuchtiak@netbeans.org
Log: #164211: move shale-remoting.jar to web.jsf.extensions