我正在爲Mountain Lion下的Eclipse Juno開發一個插件。在Mountain Lion下導出eclipse插件失敗
我可以測試我的插件沒有問題做run as
>Eclipse application
。
但是,當我嘗試通過執行以下操作導出插件時失敗。
- 打開
plugin.xml
- 去標籤
Overview
- 選擇
Export Wizard
它返回以下錯誤:
/Users/luca/Documents/University/PhD/FODA/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/compile.org.eclipse.pde.container.feature.xml:4: The following error occurred while executing this line:
/Users/luca/Documents/University/PhD/FODA/it.unibg.robotics.featuremodels.model/build.xml:31: /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/Classes does not exist.
The following error occurred while executing this line:
/Users/luca/Documents/University/PhD/FODA/it.unibg.robotics.featuremodels.model/build.xml:31: /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/Classes does not exist.
什麼問題?
這似乎工作:)你也試圖驗證導出插件是否正常工作,還是不? – Maverik
不幸的是,我沒有。後來我意識到將類導出爲JAR並將它們加載到類路徑中(而不是插件)會更實用,我最終這樣做了。如果遇到任何問題,請讓所有人知道,這樣他們就可以看到這不是一個真正的解決方案。無論如何,我相信很快這將由Eclipse修復。 –
我可以確認插件實際上工作! – Maverik