| Summary: | RCP application cannot use GEF feature and update because of a dependency on the plug-in org.eclipse.platform | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Ian Leslie <ian.leslie> |
| Component: | GEF-Legacy GEF (MVC) | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse, rnc000, sandro.weiser |
| Version: | 3.2 | ||
| Target Milestone: | 3.3.1 (Europa SR1) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Ian Leslie
I have verified that this works for my RCP application. I if I replace: <requires> <import plugin="org.eclipse.platform" version="3.2.0" match="compatible" /> </requires> in the feature.xml file for GEF in my target platform with: <requires> <import plugin="org.eclipse.rcp" version="3.2.0" match="compatible" /> </requires> when I create my deployed image it works fine. This change seems like it might break products that are using GEF 3.2.0. I do not see what would break but I am sure you know better than I. The real issue here is that as it stands now RCP applications cannot use GEF and update in the same application. If there is another way to solve that problem then that would be fine too. I should have written this bug's summary to describe the root problem rather than to propose a solution. I will test in GEF 3.2.2. <import plugin="org.eclipse.platform" version="3.2.0" match="compatible"/>
needs to be replaced with the correct plug-in dependencies
<import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.views" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.workbench" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.jface" version="3.2.0" match="compatible"/>
Some of these should be at 3.3, but I will leave so I do not break anyone since the org.eclipse.gef plug-in also specifies bundle-version="[3.2.0,4.0.0)"
Committed to R33_Maintenance and HEAD. |