redhat-developer / redhat-developer/vscode-java
Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes
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ả
Since version 1.14.0 the actions Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes. For us this leads to a huge performance issue (vscode even hangs up) since we use a multi project workspace with multiple maven project that each need to do some expensive stuff (javascript dojo build) in phase process-sources.
Up until now this worked in eclipse and vscode with java extension 1.13.0 like a charm, since both never executed this phase in the UI if not explicitly triggered by a maven build.
Is it by intention or is this a bug? If it is, is there any possibilty to turn this off or any other solution available?
Environment
- Operating System: Win 10
- JDK version: jdk-17.0.3.1
- Visual Studio Code version: 1.74.3
- Java extension version: 1.14.0
Steps To Reproduce
- Import the project
- change the file path in the ant plugin in the pom.xml to a path in your system
- Click Rebuild All
- Now you see, that the file is created and lines are appended whenever one of the actions is executed.
Same steps in version 1.13.0 never writes the file as the phase is not executed.
Current Result
Phase process-sources is executed.
Expected Result
Phase process-sources is not executed like in v1.13.0.
Additional Informations
none
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 hành vi bằng demo.zip được cung cấp, thay đổi đường dẫn trong ant plugin ở pom.xml, và so sánh Rebuild All giữa các phiên bản extension 1.13.0 và 1.14.0. Theo dõi những phase nào trong Maven lifecycle được các hành động đó gọi; hoàn tất khi process-sources không còn được chạy bởi các hành động UI này, phù hợp với kết quả mong đợi.
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
- 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
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100