(バグ修正の利点を得るために) HEAD から構築したい機能が git.eclipse.org にあることがわかりました。以前はソースからいくつかの Eclipse 機能をビルドするのは少し難しいものでしたが、Maven を使用するため、それを簡単にすることになっている Tycho があります。幸いなことに、この機能は既に Tycho と Maven を使用するように設定されていることがわかりました。
しかし、エンドユーザーとして Tycho を使用する方法は明確ではありません。「クリーン インストール」をゴールとして Maven ビルドを実行しようとしましたが、失敗しました。
Tycho ビルドを実行する方法について、完全な手順を順を追って説明してください。ビルドするプロジェクトのソース コード チェックアウトから始まり、必要なソフトウェアのインストールを含め、必要な機能を備えた Eclipse を実行して終了します。
また、Eclipse 内でプラグインのソース コードに変更を加えたい場合はどうすればよいでしょうか。それは、別のビルド方法を使用する必要があるということですか?
参考までに、これは上記の一般的な質問につながる具体的な問題です: 機能を構築しようとしましたorg.eclipse.linuxtools/systemtap/org.eclipse.linuxtools.systemtap-feature
が、systemtap
プラグインを兄弟ディレクトリにチェックアウトしました (それらは同じ git リポジトリの一部であるため、無料で入手できます)。 .
エラーは次のとおりです。
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-source-feature-
plugin:0.14.0:source-feature (source-feature) on project org.eclipse.linuxtools.systemtap: Could not generate source feature for project MavenProject: org.eclipse.linuxtools.systemtap:org.eclipse.linuxtools.systemtap:1.2.0-SNAPSHOT @ /home/greenrd/git/org.eclipse.linuxtools/systemtap/org.eclipse.linuxtools.systemtap-feature/pom.xml
[ERROR] Missing sources for plugins [org.eclipse.linuxtools.systemtap.ui.consolelog_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.editor_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.graphingapi.nonui_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.graphingapi.ui_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.logging_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.structures_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.graphing_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.systemtapgui_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.ide_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.dashboard_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.dashboardextension_0.3.0.201203201951, org.eclipse.linuxtools.systemtap.ui.graphicalrun_0.3.0.201203201951]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException