【问题标题】:Complete example for Eclipse RCP 3.6.2/P2/Junit testsEclipse RCP 3.6.2/P2/Junit 测试的完整示例
【发布时间】:2011-08-17 06:30:33
【问题描述】:

有谁知道一个很好的完整示例(来源、脚本、工作) 涵盖以下所有内容?

  • 构建具有许多功能的 Eclipse RCP 产品
  • 生成 P2 存储库
  • 运行 JUnit 测试
  • 使用 Eclipse 3.6.2
  • 使用 Delta Pack 为少数平台构建

我们正在使用 Headless PDE 构建系统,但是是开放的 改为 Buckminster 或 Maven。

谢谢,

丹尼尔·库帕尔

【问题讨论】:

    标签: eclipse-rcp headless pde


    【解决方案1】:

    查看Kai's MP3 Manager 和关联的blog

    【讨论】:

      【解决方案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]。另见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

      【讨论】:

        猜你喜欢
        • 2014-02-26
        • 2015-09-12
        • 1970-01-01
        • 2011-04-24
        • 1970-01-01
        • 1970-01-01
        • 2012-10-02
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多