[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cross-project-issues-dev] Specifying version requirements
|
Hi all,
Earlier this year, the eclipse team
put together guidelines on how to version plug-ins: http://www.eclipse.org/equinox/documents/plugin-versioning.html.
These guidelines have been adopted by
a lot of the callisto teams, however most of them (including the SDK team)
missed the fact that specifying properly its version was only part of the
problem and that it was equivalently important to specify ranges when requiring
plug-ins.
Therefore, in order to help all of you
specify the ranges on all the required plug-ins on time for callisto, I
have written a little plug-in that will propose values for all the missing
ranges. The generated values assume that you are only using APIs however
if you know otherwise you should specify a tighter range by lowering the
value for the upper bound.
Example of an output:
bundle org.eclipse.cdt.ui
<---------
plug-in name which has the problem
org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)"
<--------- proposed value
org.eclipse.ui.views;bundle-version="[3.2.0,4.0.0)"
org.eclipse.jface.text;bundle-version="[3.2.0,4.0.0)"
org.eclipse.ui.workbench.texteditor;bundle-version="[3.2.0,4.0.0)"
org.eclipse.ui.editors;bundle-version="[3.2.0,4.0.0)"
org.eclipse.ui;bundle-version="[3.2.0,4.0.0)"
org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)"
org.eclipse.search;bundle-version="[3.2.0,4.0.0)"
org.eclipse.compare;bundle-version="[3.2.0,4.0.0)"
org.eclipse.cdt.core;bundle-version="[3.1.0,4.0.0)"
org.eclipse.ui.console;bundle-version="[3.1.100,4.0.0)"
org.eclipse.core.filebuffers;bundle-version="[3.2.0,4.0.0)"
org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)"
org.eclipse.help;bundle-version="[3.2.0,4.0.0)"
How to use the tool:
- copy the attached jar in your plugins
folder
- run the following command
java
-jar startup.jar -clean -application org.eclipse.core.runtime.versionchecker.dependencyChecker
If you want to only check the dependency
for a limited set of plugins, you can specify the -filter option and specify
a regexp matching the bundle names. For example "-filter .*cdt.*"
will only match the CDT plug-ins.
Regards,
PaScaL
Attachment:
org.eclipse.core.runtime.versionchecker_1.0.0.jar
Description: Binary data