redhat-developer / redhat-developer/vscode-java
Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
Since version 1.14.0 the actions Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes. For us this leads to a huge performance issue (vscode even hangs up) since we use a multi project workspace with multiple maven project that each need to do some expensive stuff (javascript dojo build) in phase process-sources.
Up until now this worked in eclipse and vscode with java extension 1.13.0 like a charm, since both never executed this phase in the UI if not explicitly triggered by a maven build.
Is it by intention or is this a bug? If it is, is there any possibilty to turn this off or any other solution available?
Environment
- Operating System: Win 10
- JDK version: jdk-17.0.3.1
- Visual Studio Code version: 1.74.3
- Java extension version: 1.14.0
Steps To Reproduce
- Import the project
- change the file path in the ant plugin in the pom.xml to a path in your system
- Click Rebuild All
- Now you see, that the file is created and lines are appended whenever one of the actions is executed.
Same steps in version 1.13.0 never writes the file as the phase is not executed.
Current Result
Phase process-sources is executed.
Expected Result
Phase process-sources is not executed like in v1.13.0.
Additional Informations
none
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供された demo.zip を使って、pom.xml の ant plugin 内のパスを変更し、拡張機能のバージョン 1.13.0 と 1.14.0 で Rebuild All の動作を比較します。これらのアクションが呼び出す Maven ライフサイクルフェーズを追跡します。完了の条件は、期待される結果どおり、これらの UI アクションによって process-sources が実行されなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100