Bug 71269 - Define accurate plugin dependencies...
Summary: Define accurate plugin dependencies...
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.1.11   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.1.12   Edit
Assignee: Helen Beeken CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 04:51 EDT by Matt Chapman CLA
Modified: 2004-08-10 06:45 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 Matt Chapman CLA 2004-08-03 04:51:37 EDT
...so that you can only install AJDT on supported levels of Eclipse.
It should be straightforward to add "match" entries to the plugin.xml to prereq
appropriate versions of the eclipse plugins, e.g needs version 3.0.0 or later.
I'm not sure whether we can easily check for different builds of 3.0, e.g. 3.0
final or later.
Comment 1 Helen Beeken CLA 2004-08-10 06:45:17 EDT
The way to do this is to define the required version in the feature.xml file 
in the feature plugin. I've therefore replaced 

       <import plugin="org.eclipse.core.runtime"/>

with 

      <import plugin="org.eclipse.core.runtime" version="3.0.0" 
match="greaterOrEqual"/>


in the feature.xml file in org.eclipse.aspectj.feature.

It now doesn't let you install AJDT from the update site unless you have at 
least version 3.0.0 of the org.eclipse.core.runtime plugin (have tested this 
on 2.1.3, 3.0 (final) and 3.1 N20040807.

The fix should be integrated into the AJDT 1.1.12 release.