Eclipse RCP 3.6.2/P2/Junit 测试的完整示例
有谁知道一个完整的例子(源代码、脚本、作业) 涵盖以下所有内容?
- 构建具有许多功能的 Eclipse RCP 产品
- 生成 P2 存储库
- 运行 JUnit 测试
- 使用 Eclipse 3.6.2
- 使用 Delta Pack 构建少数平台
我们正在使用 Headless PDE 构建系统,但是开放的 更改为 Buckminster 或 Maven。
谢谢,
丹尼尔·库帕尔
Does anyone know of a good complete example (source, scripts, jobs)
that covers all the following?
- building an Eclipse RCP product with many features
- generating a P2 repository
- running JUnit tests
- using Eclipse 3.6.2
- building for few platforms with the Delta Pack
We are using the Headless PDE build system, but are open
to change to Buckminster or Maven.
Thanks,
Daniel Coupal
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 eclipse 3.6.2,使用 p2 为多个平台构建相当容易。默认情况下,您将获得 RCP 产品、功能、p2 存储库和多个平台 zip。请参阅http://pweclipse.blogspot.com/2010/09 /simple-rcp-product-build.html 了解主要步骤。
我们使用 masterBuild.sh bash [1] 脚本来运行我们的构建、发布它,然后运行我们的自动化测试。我们从标准 Eclipse 测试框架 [4] 中复制了 runtests [2] 和 test.xml [3]。另请参阅自动化 Eclipse 插件开发的单元测试 (junit)
[1] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/scripts/masterBuild.sh?view=co&content -type=text%2Fplain
[2] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/builder/general/tests/runtests ?view=co
[3] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder /builder/general/tests/test.xml?view=co&content-type=text%2Fplain
[4] http://www.eclipse.org/articles/Article-PDE-Automation/automation.html
Building with p2 for multiple platforms is fairly easy with eclipse 3.6.2. By default, you get your RCP product, your features, a p2 repository, and multiple platform zips. See http://pweclipse.blogspot.com/2010/09/simple-rcp-product-build.html for the main steps.
We use a masterBuild.sh bash [1] script to run our build, publish it, and then run our automated tests. We copied the runtests [2] and test.xml [3] out of the standard Eclipse Test Framework [4]. See also Automating unit tests (junit) for Eclipse Plugin development
[1] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/scripts/masterBuild.sh?view=co&content-type=text%2Fplain
[2] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/builder/general/tests/runtests?view=co
[3] http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/builder/general/tests/test.xml?view=co&content-type=text%2Fplain
[4] http://www.eclipse.org/articles/Article-PDE-Automation/automation.html
查看 Kai 的 MP3 Manager 和相关的 博客。
Take a look at Kai's MP3 Manager and the associated blog.