redhat-developer / redhat-developer/vscode-java

"Incomplete classpath" in ant project

オープン
#1,035 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

classpath
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

First time user of VS Code, and it's been some time since I last worked with Java, so apologies for any gaps in my knowledge. I have a project where a colleague set up an ant build file and I'm trying to build it in VS Code. I'm getting the infamous "Classpath is incomplete" warning as described here: https://github.com/redhat-developer/vscode-java/wiki/%22Classpath-is-incomplete%22-warning.

The question is about how to resolve this, i.e. to complete the classpath, while still having this be an ant-built project as my colleague intends. The last paragraph of the wiki article says "You need to open a folder containing a pom.xml, build.gradle or at least default eclipse setting files, so that a complete classpath and project hierarchy can be set." I assume that if I put the correct "default eclipse setting files" in my project folder I can make the error go away -- is that right? If so, what should be in those default eclipse setting files? Could you edit the Wiki page to give guidance or at least a link to somewhere explaining what to do next?

Environment
  • Operating System: Windows 10
  • JDK version: 1.8.0_221
  • Visual Studio Code version: 1.37.1
  • Java extension version: Java Extension Pack 0.7.1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている「Classpath is incomplete」wiki記事と、質問におけるAntプロジェクトのコンテキストから始めてください。Antプロジェクトが完全なclasspathを得るために必要なものを、Eclipseのデフォルト設定ファイルで十分かどうか、またそれらに何を含めるべきかも含めて説明するよう、wikiのガイダンスを更新してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, vscode
領域
developer-experience, documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。