gwt-plugins / gwt-plugins/gwt-eclipse-plugin

GWT Eclipse Plugin and Update Maven Project

Đang mở
#310 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Java
Star
116
Fork
49
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

there is minimal project which reproduces behavior described below. Project is empty. All dependencies are removed, but project pom file, except dependencies is unchanged from real project. It compiles with maven. When it is imported into eclipse, it recognizes module as Web application and GWT module.
Initially "This project has WAR directory" is checked, and "Launch and deploy from this directory (disabled because this is a Maven project)" is unchecked, but enabled. If I check this checkbox, setting lasts only until I refresh project with "Update Maven Project". After update this checkbox becomes unchecked.

from mailing list(https://groups.google.com/forum/#!topic/google-web-toolkit/c9AD8XZC1pw):

I observe one problem of GWT Eclipse Plugin(3.0.0.201610212207) when using it with maven project.

Debugging works very well.

But:

  • my project contains WAR directory, and GWT project setting "This project has WAR directory" (src/main/webapp) is checked.
  • GWT debug configuration arguments contain -war ...../src/main/webapp.
  • when I check GWT project setting "Launch and deploy from this directory (disabled because this is a Maven project)" - everything works perfectly.

Problem occurs when I Update Maven Project (Alt+F5).

Then GWT project setting "Launch and deploy from this directory (disabled because this is a Maven project)" is unchecked and more unpleasant - when launching debugger something cleans this directory - removes web.xml, static resources etc.

ttt.zip

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với dự án Maven tối thiểu đính kèm và pom.xml của nó; nhập dự án vào Eclipse, bật GWT WAR-directory launch setting, sau đó chạy Update Maven Project (Alt+F5). So sánh thiết lập và src/main/webapp trước và sau; hoàn tất khi thiết lập vẫn được bật và thư mục không bị dọn sạch.

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
Lĩnh vực
build-system, tooling
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
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.