[英]Eclipse Export Product not possible
我试图制作一个无头 Eclipse RCP,因为我想用 JNI 通过 C 文件启动它。 我创建了一个插件项目,在 MANIFEST.MF 中设置了正确的设置并创建了 Headless.product。 一切正常,Application.java 也是如此,但是当我尝试导出 .product 以获得可执行文件时,它给了我一个错误。 所以我尝试使用本教程中的现有项目(以防问题不在设置中),但它给了我同样的错误:
Cannot complete the install because one or more required items could not be found.
Software being installed: Headless Example 0.0.0
(com.codeandme.headless.headless 0.0.0)
Missing requirement for filter properties ~= $0: Headless Example
0.0.0 (com.codeandme.headless.headless 0.0.0) requires
'com.codeandme.headless.headless_root.gtk.linux.x86_64 [1.0.0]' but
it could not be found
(其中 com.codeandme.headless 是项目名称)
现在,我应该怎么做才能使导出成为可能? 与org.eclipse.equinox.executable
什么关系? 如果是,我在哪里以及如何添加它?
预先感谢您的帮助 :)
我有同样的错误信息:
Missing requirement for filter properties ~= $0: Application 0.0.0 (org.acme.project.application 0.0.0) requires 'org.acme.project.other 1.2.3' but it could not be found
出于某种原因,这个错误(也)意味着org.acme.project.other
存在......两次。
因此,在您的情况下,打开“目标编辑器”的“内容”选项卡,并确保com.codeandme.headless.headless_root.gtk.linux.x86_64
不存在于两个不同的版本中。 这个包可能在一个特性中,所以可能很难找到第二个版本的来源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.