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 117065 - Visual Web Framework is still available after removing
Summary: Visual Web Framework is still available after removing
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ch Nguyen
URL:
Keywords:
Depends on: 117332
Blocks:
  Show dependency tree
 
Reported: 2007-09-28 19:31 UTC by Lark Fitzgerald
Modified: 2007-10-04 22:36 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
plugin manager after uninstalling Visual web. (220.13 KB, image/jpeg)
2007-09-28 19:33 UTC, Lark Fitzgerald
Details
unsigned locally built visualweb/kit module. (9.44 KB, application/octet-stream)
2007-10-01 22:26 UTC, Ch Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2007-09-28 19:31:50 UTC
Product Version: NetBeans 6 IDE Dev (Build beta1: 200709270000)
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06

Steps:
1. Installed Java SE (not EE)
2. Used plugin manager to add Visual JSF and Tomcat  plugin (restart IDE)
3. Created a EE5 project to verify functionality was properly added
4. Uninstalled Visual JSF plugin (restart IDE)
5. File New > Web > 
Visuale Web JavaServer Faces framework is still available on the wizard

When I press finish It creates a very broken project (needs resolving).
Comment 1 Lark Fitzgerald 2007-09-28 19:33:01 UTC
Created attachment 49762 [details]
plugin manager after uninstalling Visual web.
Comment 2 Lark Fitzgerald 2007-09-28 19:34:13 UTC
Correction: I was using 200709280000, not 0927.
Comment 3 Ch Nguyen 2007-09-28 21:16:02 UTC
Jiri,  it looks like the uninstall of a kit module is broken. In this example, the kit module is 'Visual JSF'. Is this a
known issue?
Comment 4 Jiri Rechtacek 2007-10-01 12:03:10 UTC
I found one problem in visualweb/kit module. It should contain dependency to visualweb/xhtml module because this module
causes visualweb/project/jsf and visualweb/jsfsupport. Add visualweb/xhtml module among other dependencies of visualweb/kit.
In general, if Visual JSF kit depends on (a kit) Java Server Faces then Java Server Faces cannot depends on Visual JSF.
It means installation of Visual JSF forces installation Java Server Faces and uninstallation Visual JSF don't.
Uninstallation of Java Server Faces forces uninstallation Visual JSF. If both module needs each other then consider
joint both kit into once.
Comment 5 Ch Nguyen 2007-10-01 19:36:52 UTC
I made and tested the suggested change but it still doesn't uninstall the kit properly. I looked into the JavaServer
Faces kit under web/jsf/kit but there is no such dependency on visualweb/xhtml anywhere.  Jiri, can you shed some light
on this dependency that you stated please?
Comment 6 Ch Nguyen 2007-10-01 22:26:29 UTC
Created attachment 49940 [details]
unsigned locally built visualweb/kit module.
Comment 7 Ch Nguyen 2007-10-02 17:33:36 UTC
Investigating with some assistance from Jiri.
Comment 8 Jiri Rechtacek 2007-10-03 18:45:43 UTC
I undertake the issue to me for now. It needs more investigating in PM.
Comment 9 Jiri Rechtacek 2007-10-04 14:10:19 UTC
After fix of issue 117332 it works for me. Only last thing which stays in visualweb cluster after uninstalling Visual
JSF is Complib API module. The Complib API pretend as a kit module as Uncategorized but I guess it should be hidden.
However, this module doesn't bind any Visual JSF functionality and doesn't make any problem. IMHO I can decrease the
priority down (maybe even better file new issue about remaining Complib API I let it up to you).
Comment 10 Pavel Buzek 2007-10-04 15:09:18 UTC
Complib api should be hidden of course. I noticed several times that new modules are added to build and not hidden. By
default when adding a module pls hide it and add to the kit. If, by design, a new module should _not_ be hidden the
category must always be Web & Java EE (I will have to rename Web and Java EE to Web & Java EE to match the install page,
BTW) and never Visual Web.
Comment 11 Ch Nguyen 2007-10-04 22:36:13 UTC
Yes, the uninstall of Visual JSF kit appears to be working now.  I made the complib api module part of the kit and
hidden by default. I also changed the category name of the kit to Web & Java EE as mentioned by Pavel.  I don't know if
Pavel already in process of changing the category name for other web modules though, so I didn't touch the other web &
java ee modules.

Checking in complib/api/manifest.mf;
/cvs/visualweb/complib/api/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in kit/nbproject/project.xml;
/cvs/visualweb/kit/nbproject/project.xml,v  <--  project.xml
new revision: 1.9; previous revision: 1.8
done
Checking in kit/src/org/netbeans/modules/visualweb/kit/Bundle.properties;
/cvs/visualweb/kit/src/org/netbeans/modules/visualweb/kit/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done


Jiri, although the Visual JSF kit is not set to be installed globally, it is automatically installed globally now into
visualweb1 cluster in the netbeans/ dir.  Is this change recent? Do you know what triggers this?