Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351329

Summary: DataTools feature drags in PDE and JDT; should only be in SDK
Product: [Tools] Data Tools Reporter: Alex Blewitt <alex.blewitt>
Component: EnablementAssignee: Project Inbox <dtp.enablement-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: bluesoldier, lchan
Version: 1.9   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

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 :-/