org.eclipse.jdt.ui.wizards.NewClassWizardPage 在 Linux 上可用,但在 Mac 上不可用?

发布于 2024-10-10 15:21:08 字数 880 浏览 0 评论 0原文

最受尊敬的 Eclipse 魔术师主机..

我正在尝试创建 org.eclipse.jdt.ui.wizards.NewClassWizardPage 类的实例。我有一个项目,我在其中执行此操作,它将编译并运行它。在 Linux 上运行,但不能在 Mac 上运行。两台机器都运行带有 PDE 的 Eclipse Helios 版本,两者都是上周下载的。

捆绑包 org.eclipse.jdt.ui 在 Mac 上可用,但由于某种原因,Mac 不会编译短语

import org.eclipse.jdt.ui.wizards.NewClassWizardPage;

“无法解析导入 org.eclipse.jdt.ui.wizards.NewClassWizardPage”。 MANIFEST.MF 是一个简单的..

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: RcpTest0
Bundle-SymbolicName: rcpTest0; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: rcptest0.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.core.resources,
 org.eclipse.jdt,
 org.eclipse.jdt.core,
 org.eclipse.jdt.ui
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6

你的线索和信息嘘声是最受欢迎的。

Most esteemed host of Eclipse magi ..

I am trying to create an instance of the org.eclipse.jdt.ui.wizards.NewClassWizardPage class. I have one project where I do this, and it will compile & run on Linux, but not on a Mac. Both machines are running the Helios edition of Eclipse with the PDE, both were downloaded with the last week.

The bundle org.eclipse.jdt.ui is available on the Mac, but for some reason the Mac will not compile the phrase

import org.eclipse.jdt.ui.wizards.NewClassWizardPage;

Saying "The import org.eclipse.jdt.ui.wizards.NewClassWizardPage cannot be resolved". The MANIFEST.MF is a simple one ..

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: RcpTest0
Bundle-SymbolicName: rcpTest0; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: rcptest0.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.core.resources,
 org.eclipse.jdt,
 org.eclipse.jdt.core,
 org.eclipse.jdt.ui
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6

Your clues & boos are all most welcome.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烂人 2024-10-17 15:21:08

啊哈!答案是我在工作区的其他项目中签出了 JDT 的当前版本。它们比 JAR 更受青睐。现在了解如何下载 PDE 和 JDT 源包以及如何获取 PDE 和 JDT 源包。安装。

Aha! The answer was that I had current versions of the JDT checked out in other projects in the workspace. They were being picked in preference over the JARs. Now to understand how I can get the PDE and JDT source bundles downloaded & installed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文