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 140959 - Shared libraries do not update when Netbeans updates
Summary: Shared libraries do not update when Netbeans updates
Status: RESOLVED DUPLICATE of bug 133451
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 11:13 UTC by fommil
Modified: 2008-09-04 12:17 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fommil 2008-07-21 11:13:10 UTC
Some shared libraries (e.g. the Jersey implementation of the REST API) are distributed as NetBeans plugins. When used as part of a project that uses sharable 
library descriptors, a copy is placed in a shared location. However, when the plugin is updated in Netbeans, the shared version is not updated and may go 
stale. This is a defect, as the user should be prompted to update the shared version.
Comment 1 Milan Kubec 2008-07-21 12:39:25 UTC
Milosi, I think this is not supported yet, is it?
Comment 2 Milos Kleint 2008-07-21 13:26:22 UTC
#133451 is related.
 
I don't believe it's a defect in general. your project' dependency shall not be dependent on the version of the IDE you
are using. That was/is a bug of the non-shared projects.

the IDE's library definition is missing any kind of versioning scheme, it's just a symbolic name for a set of jars that
changes in time. Therefore I consider it a feature that the shared libraries pinpoint a specific version for your
project and use it consistently. The upgrade path is entirely in the hands of the user.  The challenge of any automated
popups, prompts and hints from the IDE is making the message clear and not getting in the way of user.

For critical/important updates #133451 lists process to take on part of the module developer to update the project. 
Comment 3 fommil 2008-09-04 12:17:36 UTC

*** This issue has been marked as a duplicate of 133451 ***