Community
Participate
Working Groups
org.eclipse.gmt.modisco.infra.common.core.internal.utils.BuildPropertiesUtils#getBuildModel uses internal PDE methods to access the IBuildModel (to view and edit the contents of a build.properties file). This was done this way, because IPluginModelBase#getBuildModel used to always return null. I created a bug for this API in PDE: Bug 308623 - IPluginModelBase.getBuildModel() always returns null Since Eclipse 3.7M2, calling getBuildModel() on IPluginModelBase objects will now return a handle to PDE's build model for that plug-in. So, the calls to internal methods should be replaced by this new API.
Available in revision 3680
In fact my first comment was wrong; getBuildModel() still returns null and is now deprecated. PluginRegistry#createBuildModel should be used instead. Fixed in revision 3688.
Bug fixed.