如何最好地维护Eclipse RCP插件目标? [英] How best to maintain an Eclipse RCP plugin target?

查看:90
本文介绍了如何最好地维护Eclipse RCP插件目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用BIRT的RCP应用程序插件.我有一个构建我的应用程序的目标,该应用程序仅包含所需的插件/功能.我最近在IDE中更新了BIRT插件版本,这在设计文件中与BIRT的先前版本产生了不兼容性.我的目标中有旧版本的BIRT,需要更新到较新的插件.

I have a plugin for an RCP app that uses BIRT. I have a target for building my app which contains only the plugins/features that are required. I recently updated the BIRT plugin versions in my IDE, which created an incompatibility in the design files with previous versions of BIRT. I have the old version of BIRT in my target and need to update to the newer plugins.

过去,我在目标中手动更新了插件jar,但是BIRT是一个复杂的平台,依赖于wazoo.有什么实用工具或方法可以不同地组织我的目标,这将使将来更容易控制它?

In the past I have manually updated plugin jars in the target, but BIRT is a complicated platform with dependencies out the wazoo. Is there any utility or way of organizing my target differently that will make this easier to control in the future?

推荐答案

我建议单独保留所有组件,而不要将其复制到单个文件夹中.您可以使用目标定义"编辑器(请参阅文件"/新建"/其他..."/目标定义").因此,下载所有片段后,您可以在本地解压缩它们,并使用目标定义编辑器组装目标平台.

I would recommend to keep all components separately and not copy them into a single folder. You can use Target Definition editor (see File / New / Other... / Target Definition). So, after downloading all the pieces, you can unpack them locally and assemble your Target Platform using Target Definition editor.

您还可以使用窗口"/首选项"/插件开发"/目标平台"首选项页面执行相同的操作.您可以在此处选择先前创建的目标定义或指定基本的Eclipse安装,然后使用添加..."按钮从本地文件夹或远程站点添加其他组件.

You can also do the same using Window / Preferences / Plugin Development / Target Platform preference page. There you can select previously created target definition or specify base Eclipse install and then use "Add..." button to add additional components from local folders or remote sites.

据我所知,PDE团队目前正在致力于扩展Eclipse 3.5中的Target平台支持.我认为他们计划允许按启动配置和按项目选择目标定义.

Also, as far as I know the PDE team is currently working on expanding Target platform support in Eclipse 3.5. I think they are planning to allow to select Target Definition per-launch configuration and per-project.

这篇关于如何最好地维护Eclipse RCP插件目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆