Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351329 - DataTools feature drags in PDE and JDT; should only be in SDK
Summary: DataTools feature drags in PDE and JDT; should only be in SDK
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: Enablement (show other bugs)
Version: 1.9   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 09:40 EDT by Alex Blewitt CLA
Modified: 2011-07-10 23:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2011-07-06 09:40:38 EDT
The data tools enablement feature includes a reference to both JDT and PDE.

<feature id="org.eclipse.datatools.enablement.feature">
...
<includes id="org.eclipse.datatools.enablement.jdt.feature" version="1.9.0.v201106031100-2-07w31211518181A" optional="true" />  - depends on JDT
<includes id="org.eclipse.datatools.enablement.oda.designer.feature" version="1.9.0.v201106031100-3328s73553C655B63" optional="true" />  - depends on PDE

Although they're marked as optional, when they are installed (and the 'include optional' is selected) they are dragged in, along with JDT and PDE. For non-JDT projects (web projects) it's unnecessary to have these in the same workspace.

It would be better if the JDT feature and the ODA designer feature were moved to the org.eclipse.datatools.enablement.sdk.feature instead, since you're only likely to need the JDT classpath entry for SDK related work.
Comment 1 Alex Blewitt CLA 2011-07-06 10:34:04 EDT
It's also worth noting that the org.eclipse.datatools.sqldevtools.feature depends on org.eclipse.datatools.connectivity.fetaure, which in turn depends on the org.eclipse.datatools.connectivity.oda.designer (which depends on PDE above).

Basically, it means that Data Tools can't be used on a plain (non-Java) Eclipse runtime :-/
Comment 2 Alex Blewitt CLA 2011-07-06 14:03:11 EDT
Sadly, even if I work around this (by having my own connectivity plugin) all of the connectivity enablement plugins also include the original connectivity pluin, which means there's no way of installing this into a runtime without dragging in JDT and PDE :-/