Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 166374 - [Update Manager] TPTP should not depend on EMF plugins, only features
Summary: [Update Manager] TPTP should not depend on EMF plugins, only features
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP.monitoring (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Hubert Leung CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 12:55 EST by Nick Boldt CLA
Modified: 2010-06-03 15:08 EDT (History)
0 users

See Also:


Attachments
UM error dialog showing config problems (depending on plugin, not feature) (41.62 KB, image/png)
2006-11-30 12:57 EST, Nick Boldt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Boldt CLA 2006-11-30 12:55:46 EST
Due to the fact that UM only works with features, not plugins, you get unresolvable errors when trying to install TPTP features if you don't have EMF installed, such as:

TPTP Monitoring Project Examples (4.2.0.v200606121835--0842282835373A) requires plug-in "org.eclipse.emf.ecore".

Instead of depending on the ecore plugin, you should depend on the emf feature.

Assigning to Component "Build" as I don't see one for Examples.
Comment 1 Nick Boldt CLA 2006-11-30 12:57:14 EST
Created attachment 54803 [details]
UM error dialog showing config problems (depending on plugin, not feature)

FYI, the only workaround for this config problem is to install EMF before trying to install TPTP features. If you try to install them at the same time, you should still get this error.
Comment 2 Joe Toomey CLA 2006-11-30 13:20:23 EST
Moving to monitoring project at Nick's request
Comment 3 Hubert Leung CLA 2006-12-13 11:46:38 EST
Nick, I think what you are observing is not a bug.  The TPTP feature you selected requires an EMF feature/plugin.  Since it is not installed, you get an error and UM won't install the TPTP feature until all dependencies are installed.  You can click on the "Select Required" button to select the dependencies automatically. 

Feature xml lets you specify requirements in the form of both features and plugins.  The update manager looks at the requirement section of features to determin dependencies.  
Comment 4 Nick Boldt CLA 2006-12-13 14:53:56 EST
Update Manager does not resolve plugin dependencies. It will only work if your features depend cross-project on other projects' FEATURES, not their plugins. I don't have a problem with TPTP's features depending on TPTP's plugins, only on EMF's plugins.

It's easy to reproduce this effect - just take a clean Eclipse and try to install TPTP by adding both the EMF and TPTP UM sites. It won't work, since plugin dependencies on EMF cannot be resolved (as shown in the attached screen shot).

If you don't consider this a bug (that is, an installation usability issue), then so be it, but this is the sort of problem that will reappear during Europa testing and cause problems for TPTP adoption for newbies who don't already use EMF.
Comment 5 Valentina Popescu CLA 2007-05-29 00:22:40 EDT
Updated target to match the iteration when this defect was processed
Comment 6 Nick Boldt CLA 2007-05-29 00:39:40 EDT
Since depending on plugins now works in Eclipse 3.3M7+, I agree, this bug is invalid.