Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020552Openbravo ERPA. Platformpublic2012-05-18 16:352022-02-01 08:09
shuehner 
Triage Platform Base 
normalmajorhave not tried
acknowledgedopen 
5
pi 
 
Core
No
0020552: ant smartbuild does not regenerate web.xml when attach.path in config/Openbravo.properties is changed
smartbuild does not regenerate the web.xml file (which has the attachment path inside) when the attach.path is changed in config/Openbravo.properties.

That way this value inside web.xml is not changed:
  <context-param>
    <param-name>AttachmentDirectory</param-name>
    <param-value>/opt/openbravo/attachments</param-value>
  </context-param>

Note: 'ant compile -Dtab=xx -Dtr=no' does update that value correcty
start with compiled workspace
change config/Openbravo.properties attach.path value to something else
run
ant smartbuild
check value of the context.param seen in description in the generated web.xml which can be found in WebContent/WEB-INF/web.xml
No tags attached.
Issue History
2012-05-18 16:35shuehnerNew Issue
2012-05-18 16:35shuehnerAssigned To => alostale
2012-05-18 16:35shuehnerModules => Core
2012-06-15 17:01alostaleNote Added: 0049868
2012-06-15 17:01alostaleTypedefect => design defect
2012-06-15 17:22dmitry_mezentsevNote Added: 0049870
2012-09-24 12:49AugustoMauchNote Added: 0052330
2012-09-24 12:49AugustoMauchStatusnew => scheduled
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:33alostaleAssigned Toalostale => platform
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0049868)
alostale   
2012-06-15 17:01   
Design defect: it was not designed to take it into account, this is a rare case which needs to check whether deserves the effort to implement it.
(0049870)
dmitry_mezentsev   
2012-06-15 17:22   
Asier,

And what would be an effort to fix it? It adds about 2 minutes to the On Demand instance provisioning. It is done once but not agile. And it grows if we have number of instances provisioned at the same time.
(0052330)
AugustoMauch   
2012-09-24 12:49   
Effort: 3
Impact: low
Plan: mid