[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pde-build-dev] feature.getVersionedIdentifier().getVersion().toString() is deprecated but not way to get at non-deprecated alternative


There doesn't seem to be a way to do this yet. I would recommend entering a
bug report against Platform/Update asking for a replacement method to call.
I assume that it should be along the lines of the changes that we recently
made in the VersionedIdentifier class found in the
org.eclipse.update.configurator bundle. (although that class wasn't API)



pde-build-dev-bounces@xxxxxxxxxxx wrote on 03/21/2007 06:37:06 PM:

> feature.getVersionedIdentifier().getVersion().toString() is deprecated.
> The alternative listed in Javadoc for PluginVersionIdentifier is to
> use org.osgi.framework.Version.
> However I am unable to work out how to get an
> org.osgi.framework.Version from the feature.
> Anyone able to point me in the right direction?
> (tips on how to self help this information out would be appreciated too)
> Cheers
> Barrie