Debugger mistakenly included Gradle build folder in classpaths
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java, typescript
- 領域
- build-system, devtools
調査の方向性
spring-petclinic プロジェクトで問題を再現します。Gradle を選択し、./gradlew build を実行してプロジェクトを起動し、argfile を調べます。bin フォルダーと build フォルダーを追加する classpath の処理を追跡します。生成された classpath に build フォルダーが存在せず、データベースの二重初期化が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
- Open spring-petclinic project using VS Code with Java Ext Pack installed
- When hint to choose between Maven or Gradle, pick Gradle and import the project
- In terminal, build the project using gradle by
./gradlew build - Now launch the project, and inspect the argfile
Both bin and build folders are in the classpath, and it will introduce unexpected consequences.
For example, in the spring-petclinic project, the database initialization script will be executed twice due to the extra classpath entry, resulting in duplicated records in db. This is really hard to troubleshoot and will cause serious confusion.
build folder should not be included in this case.
- 主要言語
- TypeScript
- スター
- 591
- フォーク
- 429
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-java-debug のほかの issue
-
ai-triaged enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
microsoft/vscode-java-debug#1689 · コメント 2 件 ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · コメント 1 件 · 担当者 1 名 ·
-
ai-triaged bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/vscode-java-debug#1658 · コメント 1 件 ·
-
ai-triaged enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/vscode-java-debug#1628 · コメント 3 件 ·
-
Feature support. オープンai-triaged enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
microsoft/vscode-java-debug#1616 · コメント 1 件 ·
microsoft/vscode-java-debug の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·