redhat-developer / redhat-developer/vscode-java
"Incomplete classpath" in ant project
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với bài viết wiki “Classpath is incomplete” được liên kết và ngữ cảnh dự án Ant trong câu hỏi. Cập nhật hướng dẫn trên wiki để giải thích một dự án Ant cần những gì để có một classpath hoàn chỉnh, bao gồm cả việc các tệp cài đặt mặc định của Eclipse có đủ hay không và chúng cần chứa những gì.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, vscode
- Lĩnh vực
- developer-experience, documentation
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100