Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-update-dev] Some code change

I will release some change(s) in the code after I test them completely.

1) the feature.xml now contains a match attribute in the include element.
The update core uses it to check the status(HAPPY/UNHAPPY) of a feature as
well as calculating the enable include child
1a) we intruduced a new API: IConfiguredSite::ISite.getConfiguredSite()

2) Import tag in feature.xml can now point to a plugin id or a feature id.
the new DTD woudl look like:
<!ELEMENT requires (import+)>
<!ELEMENT import EMPTY>
<!ATTLIST import
    plugin        CDATA #IMPLIED
    feature       CDATA #IMPLIED
    version       CDATA #IMPLIED
    match         (perfect | equivalent | compatible | greaterOrEqual)
"compatible" >
2a) some API from IImport are deprecated as they were refering to PluginId
and PluginVersion
2b) there is a new API on IImport: getKind()

3) if a Feature is installed through UpdateManager we are now recording the
Site it was installed from
3a) there is a new API on ILocalSite: ISite: getOriginatingSite(IFeature)

I will release the code at the end of the day in the R2_0_1 stream...
Thoughts ?

--
Christophe Elek
Eclipse.org (Platform Update)
(905) 413-3467



Back to the top