Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044626
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Analyticsminorhave not tried2020-07-17 10:552020-10-07 17:23
ReportercbernerView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0044626: Remove or fix jaxen-1.1.1.jar and xmlbeans-2.3.0 libraries to support Eclipse Java 11

DescriptionEclipse ecj compiler (compiling with java 11) generates an error when jaxen-1.1.1.jar or xmlbeans-2.3.0 are present because they collides with JDK package org.w3c.dom. Those jars are present in org.openbravo.client.analytics in lib/runtime/[1] and [2].

For jaxen new version was released to fix this issue, it is not a minor version however, so it should be checked prior to updating.[3]

These have to be fixed to support working with Eclipse on java 11.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics/-/tree/master/lib/runtime/jaxen-1.1.1.jar [^]

[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics/-/tree/master/lib/runtime/xmlbeans-2.3.0.jar [^]

[2] https://github.com/jaxen-xpath/jaxen/releases/tag/v1.2.0 [^]
Steps To ReproduceOpen an erp environment with analytics module in Eclipse and set the compiler to Java 11.

Errors and warnings should appear on build.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks design defect 0044733 closedplatform Openbravo ERP Tracking issue: Find and fix all jar libaries with split packages between classpath and system image (Forbidden since Java9) 

-  Notes
(0123455)
hgbot (developer)
2020-09-29 17:28

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics/-/merge_requests/3 [^]
(0123606)
hgbot (developer)
2020-10-07 17:23

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics [^]
Changeset: 81054768c5165ca3ddb631d71122bba74b811ce9
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-09-30T10:47:42+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics/-/commit/81054768c5165ca3ddb631d71122bba74b811ce9 [^]

Fixes ISSUE-44626: Update jaxen and xmlbeans libraries to support Java 11

Both jaxen and xmlbeans libraries collide with jdk package org.w3c.dom,
those collisions are not allowed by Eclipse's Java compiler(ECJ).

Jaxen library is an optional compilation dependency of jdom and dom4j,
but it is used by Mondrian for some Analytics Process queries, and as
such is necessary or it will fail at runtime when executing those. Split
packaging is fixed in version 1.2.0, so it is update to that version.

xmlbeans is necessary to be able to export excel. Split packaging is
fixed in version 2.6.0. It is updated to the last version, 3.1.0.

jaxen-1.1.1.jar -> jaxen-1.2.0.jar
xmlbeans-2.3.0.jar -> xmlbeans-3.1.0.jar

---
A lib/runtime/jaxen-1.2.0.jar
A lib/runtime/xmlbeans-3.1.0.jar
M legal/Licensing.txt
R lib/runtime/jaxen-1.1.1.jar
R lib/runtime/xmlbeans-2.3.0.jar
---
(0123607)
hgbot (developer)
2020-10-07 17:23

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.client.analytics/-/merge_requests/3 [^]

- Issue History
Date Modified Username Field Change
2020-07-17 10:55 cberner New Issue
2020-07-17 10:55 cberner Assigned To => platform
2020-07-17 10:55 cberner Relationship added blocks 0044624
2020-07-17 11:02 cberner Summary Remove or fix jaxen-1.1.1.jar library to support Eclipse Java 11 => Remove or fix jaxen-1.1.1.jar and xmlbeans-2.3.0 libraries to support Eclipse Java 11
2020-07-17 11:02 cberner Description Updated View Revisions
2020-07-17 11:02 cberner Steps to Reproduce Updated View Revisions
2020-07-31 13:54 shuehner Relationship added depends on 0044733
2020-07-31 14:30 shuehner Relationship replaced blocks 0044733
2020-09-29 17:28 hgbot Note Added: 0123455
2020-10-05 10:06 cberner Relationship deleted blocks 0044624
2020-10-07 17:23 hgbot Resolution open => fixed
2020-10-07 17:23 hgbot Status new => closed
2020-10-07 17:23 hgbot Note Added: 0123606
2020-10-07 17:23 hgbot Note Added: 0123607


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker