[英]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.