Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014604Openbravo ERPY. DBSourceManagerpublic2010-09-17 13:392022-02-01 08:08
shuehner 
Triage Platform Base 
normalminorhave not tried
scheduledopen 
5
 
 
Core
No
0014604: Review usefulness of 'ant create.database.script' and perhaps remove it
In addition to the normal update.database and create.database commands there are two 'copies' of those 'update.database.script' and 'create.database.script' which instead output a .sql file which can be applied on a remote instance.

The update.database.script is useful to prepare an update on a copy of a database and then apply this update in the original (remote) database.

However instead of using 'create.database.script' and applying this create-script in a remote instance a normal create.database could be used locally and normal database backup/transfer/restore tools can be used to transfer the database.

As those extra copies of the tasks create extra maintenance works (and sometimes bugs like 14600) perhaps the create.database.script task should be removed as its function can be easily replicated using normal tools.
Review usefulness of create.database.script task and perhaps remove it.
No tags attached.
blocks design defect 0038296 acknowledged Triage Platform Base Review & cleanup build.xml 
Issue History
2010-09-17 13:39shuehnerNew Issue
2010-09-17 13:39shuehnerAssigned To => marvintm
2010-09-20 09:00alostaleStatusnew => scheduled
2012-01-30 10:27marvintmNote Added: 0044680
2012-01-30 10:27marvintmTypedefect => design defect
2012-09-24 23:29AugustoMauchNote Added: 0052479
2012-09-24 23:29AugustoMauchPriorityhigh => normal
2018-04-08 17:02shuehnerAssigned Tomarvintm => platform
2018-04-08 17:02shuehnerRelationship addedblocks 0038296
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0044680)
marvintm   
2012-01-30 10:27   
This task was originally created when multiple features (such as modulescripts, DAL-managed reference data and sampledata, ...) didn't exist, and currently does not work correctly.

It would need to be extensively changed to support all the features in OB3.
(0052479)
AugustoMauch   
2012-09-24 23:29   
Impact: low
Plan: mid