Openbravo Issue Tracking System - Openbravo Deployment Options
View Issue Details
0039795Openbravo Deployment OptionsOpenbravo Appliance 18.04public2018-12-13 10:502024-06-18 18:16
jarmendariz 
staffrm 
normalcriticalalways
closedfixed 
5
 
 
0039795: Build fails in PR19Q1 with Java 11
Some ant tasks fails caused by the new log4j library and a bug reported to ant related to multi-release jars [1]. This issue will be fixed starting from ant 1.10.6. [2]

[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=62952 [^]
[2] https://github.com/apache/ant/commit/593aff2d2ea52a025cfe7da32155216719029a7d [^]
See above
As a workaround until ant releases version 1.10.6 or Ubuntu backports this feature to 18.04's version, this can be fixed by adding this parameter in ANT_OPTS:

ANT_OPTS="-Djdk.util.jar.enableMultiRelease=force"
No tags attached.
related to feature request 0039504 closed jarmendariz Openbravo ERP Upgrade Log4j to version 2 
related to defect 0039663 closed jarmendariz Openbravo ERP Build fails with Java11 starting from log4j upgrade 
Issue History
2018-12-13 10:50jarmendarizNew Issue
2018-12-13 10:50jarmendarizAssigned To => staffrm
2018-12-13 10:55jarmendarizRelationship addedrelated to 0039504
2018-12-13 13:43jarmendarizRelationship addedrelated to 0039663
2024-06-18 18:13shuehnerStatusnew => scheduled
2024-06-18 18:16shuehnerNote Added: 0166075
2024-06-18 18:16shuehnerStatusscheduled => resolved
2024-06-18 18:16shuehnerResolutionopen => fixed
2024-06-18 18:16shuehnerStatusresolved => closed

Notes
(0166075)
shuehner   
2024-06-18 18:16   
Marking this as resolved.
We worked with Canonical back then to backport that change into their 1.10.5 ant version shipped into Ubuntu 18.04.
For current Appliance 20.04 it ships ant version 1.10.7 which has the bugfix already via the normal upstream ant version.