自从升级到 Eclipse 3.7 后,Eclipse PDE 插件希望我为我的所有 Eclipse 插件项目指定一个API 基线".
Since upgrading to Eclipse 3.7, the Eclipse PDE plugin wants me to specify an 'API Baseline' for all my Eclipse Plugin projects.
但是,似乎没有任何文档能够真正解释API Baseline"在这里代表什么以及它的用途.
However there seems to be no documentation which actually explains what 'API Baseline' stands for here, and what is it used for.
谁能解释一下?
API Baseline 旨在帮助您维护其他人可以使用的插件.API 工具可帮助您创建兼容的 API 版本.按照 Sumit Singh 发布的链接获取有关如何使用它们的说明.
API Baseline are intended to help you maintain plugins that others can use. The API Tools help you create compatible API versions. Follow the link that Sumit Singh posted to get an explanation on how to use them.
如果您开发的插件仅供您个人使用,并且对维护兼容的 API 不感兴趣,您可以按照建议禁用警告.
If you develop a plugin just for your personal use and are not interested to maintain a compatible API, you can follow the advices to disable the warnings.
当您为社区开发插件时,例如.G.Eclipse 插件本身,必须将 API 不兼容性降至最低.然后你会按照建议,在为 4.3 开发时将基线设置为 4.2.API 工具将帮助您让 4.3 成为所有当前 4.2 用户的享受.
When you develop plugins for a community, e. g. the eclipse plugins themselves, it is essential that you keep API incompatibilities to a minimum. Then you will follow the advice and set the baseline to 4.2 when you develop for 4.3. The API tools will help you make 4.3 an enjoyment for all current 4.2 users.
请注意,API 工具是供其他人使用的插件的开发人员使用的.它们不是针对这些插件的用户的.
Please note, that the API Tools are for the developers of the plugins that will be used by others. They are not addressed at the users of those plugins.
这篇关于什么是 Eclipse PDT 中的“API 基线"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!