Openbravo Issue Tracking System - POS2
View Issue Details
0047763POS2Corepublic2021-09-27 15:132021-11-11 06:59
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
 
No
0047763: remove use of guava in core2 build
Guava is planned to be removed. This core2 commit [1] adds a dependency to it.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/731fcd0c4f9112c6c43a7d46b81fa20b5d876639 [^]
-
No tags attached.
related to defect 0047753 closed alostale POS2 POS2 only: component providers declared within a JAR are not detected 
blocks design defect 0047092 closed meriem_azaf Openbravo ERP Remove guava library as it is no longer needed as a dependency of weld 
Issue History
2021-09-27 15:13alostaleNew Issue
2021-09-27 15:13alostaleAssigned To => Retail
2021-09-27 15:13alostaleTriggers an Emergency Pack => No
2021-09-27 15:14alostaleRelationship addedblocks 0047092
2021-09-27 15:14alostaleAssigned ToRetail => alostale
2021-09-28 08:14alostaleRelationship addedrelated to 0047753
2021-09-28 08:17hgbotNote Added: 0132034
2021-10-11 12:25guilleaerStatusnew => scheduled
2021-11-11 06:59hgbotResolutionopen => fixed
2021-11-11 06:59hgbotStatusscheduled => closed
2021-11-11 06:59hgbotNote Added: 0132945
2021-11-11 06:59hgbotNote Added: 0132946

Notes
(0132034)
hgbot   
2021-09-28 08:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/638 [^]
(0132945)
hgbot   
2021-11-11 06:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 386fde4d9e00ecbc9cfb9f94e758f3cc6b1ea9b9
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-11-10T13:06:56+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/386fde4d9e00ecbc9cfb9f94e758f3cc6b1ea9b9 [^]

fixed ISSUE-47763: guava is used in core2 build

Guava was used in core2 build to find in the classpath classes extending
ComponentProvider because JDK's refection APIs don't provide a mechanism
to query for classes extending some other one.

This has been replaced by a new class loader that is able to eagerly
detect classes either in build/classes directory or included within
jars.

---
A src/org/openbravo/core2/build/OBModuleClassLoader.java
M src/org/openbravo/core2/build/ModuleInfoGenerator.java
---
(0132946)
hgbot   
2021-11-11 06:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/638 [^]