3

情况: 我有一个 Eclipse RCP 应用程序,我正在尝试使用 Eclipse 的 tycho 插件构建它。
当我在 IDe 中执行我的 Eclipse 应用程序时 - 应用程序正常执行。
使用 tycho 构建应用程序时 - 抛出以下错误:

The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from required .class files

我做了什么:
在其他情况下,我发现抛出“缺少要求”异常 -缺少传递插件依赖是原因

In my case an SWT widget "Button" is missing, so I am trying to import swt. SWT is platform dependant so I am importing swt inside of the product, as described here.

Anyway, during compilation the error occurs again.

Question:
Do someone have any Idea, how to solve this Problem?

4

1 回答 1

1

我从邮件列表中得到了答案(Thnx Jeff MAURY!) - 这似乎是第谷的错误。 是一个可用的补丁。

对于那些还不了解 GIT 的人,比如我:

  • 在 Windows 上检查补丁时,使用 TortoiseGit 或 MSYGit 客户端,而不是 EGit 客户端 - 它不会识别存储库。
  • 另外使用https存储库,而不是 git 存储库 - git 对我不起作用
  • checkot 语法是git clone https://git.eclipse.org/r/tycho/org.eclipse.tycho.git- https://git.eclipse.org/r/tycho/org.eclipse.tycho.git是这里的存储库 URL
于 2012-11-08T09:41:50.557 回答