當試圖執行PDE無頭的身材,我發現了eclipse.buildScript一步,顯示如下:PDE無頭生成(基於特徵)和缺少所需插件
[java] generateScript:
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.oda.design.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design_[3.0.4,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.consumer_[3.1.1,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.oda.profile:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.consumer_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.ui.templates:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui.templates_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.jdt.classpath:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.ws.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.enablement.oda.xml.ui_[1.1.0,2.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.ws:
[java] [eclipse.buildScript] Another singleton version selected: org.eclipse.datatools.enablement.oda.ws_1.1.2.v200812171046
[java] [eclipse.buildScript] Optional plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.4,4.0.0) is not available.
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml:
[java] [eclipse.buildScript] Another singleton version selected: org.eclipse.datatools.enablement.oda.xml_1.1.2.v200902111040
[java] [eclipse.buildScript] Optional plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.4,4.0.0) is not available.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.help_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.expressions_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.resources_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.variables_[3.2.200,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.search_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.ui_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.core_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface.text_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.console_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.ide_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.views_[3.3.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.editors_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.runtime_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.core.refactoring_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.ui.refactoring_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.forms_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.navigator_[3.3.200,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.navigator.resources_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.core.manipulation_[1.3.0,2.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.pde.ui.templates:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.pde.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.core_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface.text_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.build_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.search_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.core_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ant.ui_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.junit_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.ui.refactoring_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.ui_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.metadata_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.engine_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.core_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.director_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.artifact.repository_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.metadata.repository_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.frameworkadmin_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.frameworkadmin.equinox_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.repository_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.debug.core_0.0.0.
我明白這些軟件包/插件缺少必需的和/或可選的依賴關係。我不明白的是沒有找到某些插件。
例如,有許多上市org.eclipse.XXXXX插件,我相信會通過使用baseLocation財產,我已經設定爲可以解決如下:
<full_path_from_root>\pdebuild\target\eclipse
日蝕是我的目標,並且具有我所有的第三方依賴關係。另外,我還有一個單獨的eclipse安裝,用作啓動構建的版本(例如,帶有PDE構建文件的版本3.5.2)。這個eclipse中的「插件」子文件夾確實具有上面列出的缺失依賴關係。
因此,當試圖解決缺失的依賴關係時,無論它們是必需的還是可選的,它們在無頭PDE構建過程中如何解決?我覺得奇怪的是,我必須將用於啓動無頭PDE構建的eclipse中缺失的插件複製到target \ eclipse \ plugins子文件夾中,以嘗試解決此問題。當我這樣做時,我收到更多的「缺少必需的插件」消息。也許這只是歸結爲我必須繼續將庫複製到我的target \ eclipse \ plugins子文件夾中,直到消息消失。
非常感謝那些能夠就如何最好地解決此問題提供任何建議或建議的人們。
謝謝Paul的回覆。 baseLocation值指向一個有效的Eclipse 3.4.2安裝,實際上存儲在SVN中用於自動構建目的。當試圖準備構建環境時,這個版本的eclipse從SVN獲得並停放在'$ {buildDirectory}/target/eclipse'子文件夾中。 – Michael 2011-05-02 21:05:55