processing / processing/processing4
migrate custom `jssc` dependency to maintainable source used in `serial` library
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 494
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
Problem
While trying to modernize the dependency and migrate it to a Gradle-based setup, this approach as reference:
dependencies {
compileOnly(project(":core"))
implementation("io.github.java-native:jssc:2.10.2")
}
this invoke error methods getPortProperties() that aren't present in java-native/jssc or any other published versions.
because currently, the processing4/java/libraries/serial library depends on a customized version of jssc that is not available on Maven Central or Jitpack . It is documented as a modified version of gohai/java-simple-serial-connector and sampottinger/jssc,
currently migration pull request lives under library/jssc.jar file and is custom-built, and it's a hurdle to issue #1099
Solution
-
Create a downstream fork under the foundation org to maintain and publish the custom JAR
-
Or incorporate the needed source directly into the repo
Per @Stefterv suggestion, I’m opening this issue to track the long-term resolution of this dependency problem
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 bằng cách đọc cấu hình dependency trong java/libraries/serial và thư viện tùy chỉnh library/jssc.jar, sau đó so sánh các pull request được tham chiếu #1189 và #1106 với việc sử dụng getPortProperties(). Công việc được xem là hoàn tất khi thư viện serial không còn phụ thuộc vào một JAR tùy chỉnh không khả dụng, đồng thời vẫn giữ API bắt buộc và một vị trí dependency hoặc mã nguồn có thể dễ dàng bảo trì.
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
- Tái cấu trúc
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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