redhat-developer / redhat-developer/vscode-java
Maven source and dependencies are built incorrectly at initial compile time
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ả
When the top level pom.xml is just a wrapper for two modules, the workspace does not build correctly.
When the workspace is first loaded, references from imports or from within the source are not loaded correctly. Once a file is opened, these errors go away.
Environment
- Operating System:
Linux 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 - JDK version:
openjdk version "10.0.2" 2018-07-17 - Visual Studio Code version:
Version: 1.31.1
Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
Date: 2019-02-12T02:19:29.629Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-45-generic
- Java extension version:
Name: Language Support for Java(TM) by Red Hat
Version: 0.38.0
- Using Java extension pack:
Id: vscjava.vscode-java-pack
Version: 0.6.0
Steps To Reproduce
- Open a project in vscode with the main
pom.xmlcontaining only modules and with dependencies in the modules
This can be seen in
This project. The v2.7 branch has the source issue
Errors in debug window:
[[object Object]]src/main/com/blazingkin/interpreter [in blz-ospl] is not on its project's build path
src/main/com/blazingkin/interpreter [in blz-ospl] is not on its project's build path
at /home/blazingkin/.vscode/extensions/redhat.java-0.38.0/dist/extension.js:1
at /home/blazingkin/.vscode/extensions/redhat.java-0.38.0/dist/extension.js:1
at Immediate.module.exports.T.size.setImmediate (/home/blazingkin/.vscode/extensions/redhat.java-0.38.0/dist/extension.js:1)
at runCallback (timers.js:696)
at tryOnImmediate (timers.js:667)
at processImmediate (timers.js:649)
Current Result
Expected Result
Additional Informations
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
Tái hiện vấn đề với dự án blz-ospl v2.7 trong VS Code, sử dụng pom.xml cấp cao nhất của dự án và hai tệp pom.xml của các module với logging được bật. Trước tiên, hãy kiểm tra các log import và build-path; được xem là hoàn tất khi quá trình tải ban đầu phân giải được các source và dependency của module mà không yêu cầu mở tệp.
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, typescript, vscode
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- 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
- 30/100