您的位置:首页 > 移动开发

[经验] RCP构建Product的问题解决

2005-02-04 02:32 561 查看
一般情况下, 使用RCP Runtime binary部署程序时,

如果构建Product出现: No application id has been found
如果构建Application出现: Application "..." could not be found in the registry. The applications available are: <NONE>.

在确定配置信息没有写错的前提下, 大多数情况是由于runtime binary没有提供org.eclipse.update.configurator包的缘故.

解决方法:
1.到eclipse的plugin目录中找org.eclipse.update.configurator_x.x.x包, 然后拷贝到rcp程序的plugin目录中.
2.注释configuration目录中config.ini里的osgi.bundles=...行或添加如下信息: osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start ,这样configurator就可以生成配置信息目录.

注: 我使用的RCP版本为3.0.1, 3.1M4的也不提供那个包.... 不知道这是不是eclipse开发者疏漏的一个地方.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  application eclipse