mapstruct / mapstruct/mapstruct-examples

Mapstruct issue on Eclipse (1.4.2.Final)

Đang mở
#120 0 bình luận 0 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
1.4k
Fork
504
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I have an issue to setup Mapstruct on eclipse (Version: 2021-03 (4.19.0), Build id: 20210312-0638) with following gradle setting:

implementation "org.mapstruct:mapstruct:$mapstructVersion"
annotationProcessor "org.mapstruct:mapstruct-processor:$mapstructVersion"
annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0"
annotationProcessor "org.projectlombok:lombok"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"

It seems it doesn't generate .factorypath when I tried to run gradle tasks: cleanEclipse and eclipse
It works and everything is fine if I add follow gradle plugin:

plugins {
id 'java'
id 'eclipse-wtp'
id 'org.springframework.boot' version '2.3.12.RELEASE'
id 'io.franzbecker.gradle-lombok' version '4.0.0'
id 'net.ltgt.apt-eclipse' version '0.21'
}

But there is a drawback that this net.ltgt.apt-eclipse doesn't work on gradle 7.1.1 and I need to use the older version gradle-6.9
However developers like me prefer to install MapStruct Eclipse Plugin and it's supposed to make things work around without require developers to add net.ltgt.apt-eclipse

I look forward to this potential fix.

Regards.

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 bằng cách tái hiện thiết lập với các cài đặt Gradle được liệt kê cùng các task cleanEclipse và eclipse, đồng thời so sánh Gradle 7.1.1 với Gradle 6.9 đang hoạt động và plugin net.ltgt.apt-eclipse. Điều tra cấu hình Eclipse và xử lý annotation; công việc được xem là hoàn tất khi .factorypath cần thiết được tạo mà không cần plugin đó và MapStruct hoạt động trong Eclipse.

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
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
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.