Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040255Openbravo ERPA. Platformpublic2019-02-21 19:042019-02-22 09:06
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR19Q13.0PR19Q1 
alostale
Core
No
0040255: It is not needed to include the woodstox library in the runtime classpath
When deploying the context, all the libraries inside "src-db/database/lib" are deployed into WEB-INF/lib.

This is because it is needed to have some of them included in the runtime classpath because they are required by some features:

- Installing a module from an obx file using the MMC
- Easy Extensible Attributes[1] module

But the woodstox library (wstx-asl-3.0.2.jar) is not required at runtime by any feature in particular. Note that the StaxXMLEntityConverter[2] can retrieve any other available XML reader for its processing.

[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Easy-Extensible-Attributes [^]
[2] https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/dal/xml/StaxXMLEntityConverter.java#l252 [^]
In description
Avoid the deployment of the libraries inside src-db/database/lib which are not required at runtime, i.e, do not deploy the wstx-asl-3.0.2.jar file.
No tags attached.
blocks defect 0040246 closed caristu It is not needed to include the woodstox library in the runtime classpath 
Issue History
2019-02-21 19:04caristuNew Issue
2019-02-21 19:04caristuAssigned To => caristu
2019-02-21 19:04caristuModules => Core
2019-02-21 19:04caristuTriggers an Emergency Pack => No
2019-02-21 19:04caristuIssue generated from0040246
2019-02-21 19:04caristuRelationship addedblocks 0040246
2019-02-21 19:06hgbotCheckin
2019-02-21 19:06hgbotNote Added: 0110008
2019-02-21 19:06hgbotStatusnew => resolved
2019-02-21 19:06hgbotResolutionopen => fixed
2019-02-21 19:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/fba4aab80022bf7bd1ce675c076d830066e0094a [^]
2019-02-21 19:06caristuReview Assigned To => alostale
2019-02-22 09:06alostaleNote Added: 0110015
2019-02-22 09:06alostaleStatusresolved => closed
2019-02-22 09:06alostaleFixed in Version => 3.0PR19Q1

Notes
(0110008)
hgbot   
2019-02-21 19:06   
Repository: erp/backports/3.0PR19Q1
Changeset: fba4aab80022bf7bd1ce675c076d830066e0094a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Feb 21 19:05:49 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/fba4aab80022bf7bd1ce675c076d830066e0094a [^]

fixes issue 40255: The woodstox library is not required at runtime

The woodstox library which provides an implementation of the Stax XML API is used by DBSM for export/import taks but it is not required at runtime. Therefore, now we are not copying it when deploying the context.

---
M src/build.xml
---
(0110015)
alostale   
2019-02-22 09:06   
reviewed + tested