redhat-developer / redhat-developer/vscode-java
vscode-java fails to build project with pom-type dependency
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I am attempting to follow https://www.graalvm.org/latest/reference-manual/python/ in VSCode, but the Java Language Support for VSCode appears to be having some difficulty. Namely, it thinks the project cannot be built, while ./gradlew build succeeds just fine.
Environment
- Operating System: macOS 13.6.1 (22G313)
- JDK version:
openjdk 21.0.2 2024-01-16
OpenJDK Runtime Environment Homebrew (build 21.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.2, mixed mode, sharing) - Visual Studio Code version: 1.87.2 (Universal)
- Java extension version: v1.28.1
- Gradle 8.5
Steps To Reproduce
git clone https://github.com/kalaracey/graalpy-vscode-issue.git- Open graalpy-vscode-issue in VSCode
- Wait for the automatic "Opening Java Projects" to finish
Current Result
VSCode's Problems tab has two problems:
- Archive for required library: '/Users/kal/.gradle/caches/modules-2/files-2.1/org.graalvm.polyglot/python-community/23.1.2/2534a71914ae30007251d1f91f67bb5b5b3431d/python-community-23.1.2.pom' in project 'app' cannot be read or is not a valid ZIP file
- The project cannot be built until build path errors are resolved
Expected Result
No problems, given that ./gradlew build succeeds.
Additional Informations
/Users/kal/.gradle/caches/modules-2/files-2.1/org.graalvm.polyglot/python-community/23.1.2/2534a71914ae30007251d1f91f67bb5b5b3431d/python-community-23.1.2.pom is the only file in its directory.
Outputs from various VSCode tasks:
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている graalpy-vscode-issue の再現ケースと、Java Language Server、Build Server for Gradle、Gradle for Java のログから始めます。依存関係 python-community-23.1.2.pom がどのように処理されるかを追跡します。完了の条件は、VSCode でプロジェクトを開いても build path の問題が発生せず、./gradlew build が引き続き成功することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- build-system, developer-experience, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100