gpt4 book ai didi

java - 无法解决使用 eclipse luna 和 equinox 进行编译的基本障碍(新手)

转载 作者:太空宇宙 更新时间:2023-11-04 06:41:30 26 4
gpt4 key购买 nike

我正在努力开始使用 EclipseSCADA http://wiki.eclipse.org/EclipseSCADA/GettingStarted/SettingUpAScadaProject当我到达最后一步时 - 运行应用程序:

Run -> Run Equinox Application Profile

失败并出现错误:

Missing 3 installable units in the target platform: [org.eclipse.equinox.server.core, org.eclipse.equinox.server.p2, org.eclipse.equinox.server.jetty]

我正在疯狂地尝试找出如何解决这些依赖关系。在 Google 上搜索了几个小时,但毫无乐趣可言。

我已经下载了 equinox-Luna_SDK zip 文件,其中包含上述插件,但我不知道如何让 Eclipse 看到它们。

任何有关此问题的帮助或指示都会有所帮助。

谢谢。

最佳答案

我在关注 http://wiki.eclipse.org/EclipseSCADA/GettingStarted/SettingUpAScadaProject 时遇到了同样的问题.

The problem is how to install the missing installable units.

经过一整天的寻找,终于找到了解决方案。

步骤 1.下载 KeplerSR2 软件包

地址 - http://download.eclipse.org/equinox/drops/R-KeplerSR2-201402211700/

enter image description here

步骤 2.安装 KeplerSR2 软件包

从 Eclipse 中,导航至“帮助 --> 安装新软件”,使用此 URL http://123.57.1​​38.177/equinox-SDK-KeplerSR2/

note, In this url, I host the unzipped KeplerSR2 package since it is a p2 repo. Also, please uncheck the Group items by category.

enter image description here

然后,您应该会得到如下所示的列表。 enter image description here

只需将它们全部选中并单击“完成”即可。它会带您安装它们。

第3步重启后检查安装情况

安装插件和功能后,会弹出一个对话框并要求重新启动。重启后,进入“Eclipse --> Preferences --> Plug-in Development --> Target Platform” enter image description here

点击编辑,然后查询缺少的可安装单元。现在,他们已经解决了。

enter image description here

最后启动modbus.profile.xml

通过入门指南,我得到了这样的信息。 enter image description here

要启动 modbus 模拟器,请将其作为 equinox 应用程序启动。 enter image description here

其他有用的链接

http://www.amazon.com/gp/product/0321585712?ie=UTF8&tag=equinoxosgior-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0321585712

  • 下载

http://download.eclipse.org/equinox/drops/R-KeplerSR2-201402211700/

  • 设置插件平台目标

http://www.xdemo.org/osgi-equinox-environment/

  • RCP 最佳实践 - 设置目标平台

http://www.modumind.com/2012/10/23/rcp-best-practices-set-up-a-target-platform/

  • Hello World

http://www.xdemo.org/osgi-hello-world/

https://wiki.eclipse.org/Equinox/p2/Zipped_Repos http://download.eclipse.org/equinox/drops/R-KeplerSR2-201402211700/

Note: Please see bug bug 268210 for issues related to provisioning from these repos for your PDE target. Currently, you can't provision from these repos in PDE because the repository browser doesn't show categories.

如果您选择按类别分组,则不会显示任何内容。因此,该类别不应被标记。

关于java - 无法解决使用 eclipse luna 和 equinox 进行编译的基本障碍(新手),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24628293/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com