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 122599 - Problems with Staged tasklist plugins
Summary: Problems with Staged tasklist plugins
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Stable (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tim Lebedkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 18:14 UTC by Jaromir Uhrik
Modified: 2007-12-04 15:41 UTC (History)
0 users

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 Jaromir Uhrik 2007-11-22 18:14:26 UTC
[6.0 RC2 Build]
There are 4 plugins staged at:
http://updates.netbeans.org/netbeans/updates/6.0/uc/final/stable/catalog_stage.xml.gz
When I connct to this update center via Plugin Manager then I see folowing 2 plugins:
-User Tasks
-Task List Editor Support
IMHO the Task List Editor Support visibility flag is not set correctly (it should not be visible). When I install User
Tasks then all 4 plugins are installed but only 2 are visible in Installed tab (-User Tasks and -Task List Editor
Support are visible in Installed tab). And after pushing Refresh Catalog button there appear all 4 plugins in the
Installed tab (this seems to be wrong too, I think that only User Tasks should be visible).
Comment 1 Jaromir Uhrik 2007-11-23 10:40:10 UTC
Increasing the priority to P2 because tasklist plugins are about to be on 'Stable' update center.
Comment 2 Tim Lebedkov 2007-11-23 13:37:16 UTC
I don't think it is a bug. "User Tasks" can be used without "Task List Editor Support".
Comment 3 Jaromir Uhrik 2007-11-26 15:43:34 UTC
Although it is not common to have an eager module visible I agree that it is allowed so that I believe this part is not
issue. 
But the second part seems to be issue and should be fixed. The problem is that there is the following inconsistency
between information contained in info.xml of .nbms and MANIFEST.MF of corresponding .jar file:
It is the same for "org.netbeans.modules.tasklist.core" and "org.netbeans.tasklistapi".
In catalog and info.xml there is the following declaration:
<manifest AutoUpdate-Show-In-Client="false"...
But this declaration is missing in MANIFEST.MF of proper .jar so that the behavior is that IDE expects that the flag is
set as "true" (this is why Tasklist Core Support and Tasklist APIs appear after pressing Refresh Catalog - it is because
then the Plugin Manager reads the information from manifests of .jar files of installed modules).
The solution is to declare "AutoUpdate-Show-In-Client: false" in manifests of both .jar files.
Comment 4 Jiri Kovalsky 2007-11-26 19:50:17 UTC
Thanks for your evaluation .JARo. Tim, could you please fix this also in the .jar files? Thanks!
Comment 5 Jaromir Uhrik 2007-11-29 17:57:13 UTC
Staging update center for modules has changed to:
http://updates.netbeans.org/netbeans/updates/6.0/uc/final/test/catalog_stage.xml.gz
So that plugins will be staged to this URL. So far it contains tasklist plugins which publishing was refused because of
this issue.
Comment 6 Tim Lebedkov 2007-12-01 18:37:28 UTC
should be fixed now
Comment 7 Jiri Kovalsky 2007-12-03 19:50:47 UTC
OK, thanks Tim. .JARo, could you please verify this? Thanks!
Comment 8 Jaromir Uhrik 2007-12-04 15:41:06 UTC
Verified in 6.0 fcs build.