org.eclipse.jdt.ui.wizards.NewClassWizardPage 在 Linux 上可用,但在 Mac 上不可用?
最受尊敬的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊哈!答案是我在工作区的其他项目中签出了 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.