redhat-developer / redhat-developer/vscode-java

Dependency issue with the extension for Iceberg Apache project

Open
#4,047 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Trying to use VSCode with the extension to build/test the Apache Iceberg project, but the dependency handling is not working as expected.
The gradle projects view shows all the gradle projects in Iceberg, and the dependencies are correctly highlighted.

OTOH when I try to open I got Java errors, like:

[{
	"resource": "/workspaces/iceberg/aliyun",
	"owner": "_generated_diagnostic_collection_name_#5",
	"code": "0",
	"severity": 8,
	"message": "The project was not built due to \"aliyun does not exist\". Fix the problem, then try refreshing this project and building it since it may be inconsistent",
	"source": "Java",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 1
}]

It might be an issue how the dependecies are handled, as the project has a aliyun directory, which contains a sub-project called: iceberg-aliyun

Repro PR: https://github.com/apache/iceberg/pull/13034

Any suggestions, ideas to make this work would be helpful.
Thanks,
Peter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Apache Iceberg reproduction PR and reproduce the failure in the Gradle projects view when opening or building the project. Investigate the dependency handling around the aliyun directory and its iceberg-aliyun sub-project. Done means the project opens and builds without the reported Java error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.