Bug 21391 - Features without corresponding plugin cannot be referenced
Summary: Features without corresponding plugin cannot be referenced
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 2.0.2   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 22:29 EDT by Greg Adams CLA
Modified: 2002-10-07 16:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Adams CLA 2002-07-08 22:29:04 EDT
(I have not had a chance to confirm this, but based on the spec it suggests 
this is the case)

If a feature does not have an associated plugin, then this implies that another 
feature cannot include or require it since include/require is based on the 
plugin id of the feature's plugin according to the spec. If this is supported 
the spec/doc on the update component web page should be clarified & this can be 
downgraded to a p3.

Peter M. may have had an opportunity to test this out for sure. Apologies that 
I have not had a chance to confirm spec theory.
Comment 1 Christophe Elek CLA 2002-07-09 07:39:20 EDT
Hum , we may not be clear. I can see the includes tag seems to require a feature
id, but the requires tag needs a plugin id.

We should make it clearer that include is for feature nesting, while requires is
for plugin dependency.

So, in a nutshell, you should be able, in the current spec, to include a feature
that doesn't have a plugin. the require tag takes a plugin id and is not used
for nesting...

Move to p3 as specified, change spec
Comment 2 Dejan Glozic CLA 2002-09-11 16:13:57 EDT
Investigate if it is doable to add an attribute 'feature' in the 'import' 
element in requires to allow feature prereq instead of plug-in prereq.
Comment 3 Christophe Elek CLA 2002-09-23 07:34:38 EDT
Attribute feature has been added. test
Comment 4 Dejan Glozic CLA 2002-09-29 23:56:53 EDT
Core is now supporting 'feature' in 'import' elements, Update UI modified to 
handle it.
Comment 5 Dejan Glozic CLA 2002-10-04 17:56:33 EDT
Implemented - needs testing.
Comment 6 Dejan Glozic CLA 2002-10-07 16:19:59 EDT
Fixed.