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 30161

Summary: Permit modules to add "upgrade" transformations of module dependencies
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: pkuzel
Priority: P2 Keywords: API
Version: 3.x   
Hardware: All   
OS: All   
URL: http://www.netbeans.org/source/browse/core/src/org/netbeans/core/modules/?showattic=1&only_with_tag=debugger_api_29914
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 17815, 29027, 29577, 29914    

Description Jesse Glick 2003-01-16 01:26:06 UTC
Currently NbInstaller.refineDependencies hardcodes
an (ever-growing) list of dependency
transformations used to keep backwards
compatibility. But this is too much logic in the
core and makes it hard for modules to manage their
own lifecycles. Should be possible to declare
transformations in XML and add them to the system.

See proposed DTD. XML files would be looked for in
$dir/system/ModuleAutoDeps/*.xml for $dir in
$nbhome and $nbuser (i.e. system filesystem before
any modules have been enabled).
Comment 1 Jesse Glick 2003-01-16 01:30:10 UTC
Working on in branch for issue #29914.
Comment 2 Jesse Glick 2003-01-16 02:04:14 UTC
In progress.
Comment 3 _ pkuzel 2003-01-17 10:43:17 UTC
A naming note: trigger => dependency, result => implies. 
Comment 4 Jesse Glick 2003-01-17 14:47:35 UTC
OK, that naming change sounds reasonable enough.
Comment 5 Jesse Glick 2003-01-21 03:10:24 UTC
Changed to:

dependency => trigger-dependency
results => implies
Comment 6 Jesse Glick 2003-01-21 03:11:04 UTC
Working in branch.
Comment 7 Jesse Glick 2003-01-27 22:02:25 UTC
Fixed; see issue #29914 for details.