Openbravo Issue Tracking System - Openbravo Deployment Options
View Issue Details
0039795Openbravo Deployment OptionsOpenbravo Appliance 18.04public2018-12-13 10:502018-12-13 13:43
jarmendariz 
staffrm 
normalcriticalalways
newopen 
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

There are no notes attached to this issue.