Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022429 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | N/A | 2012-11-29 14:28 | 2013-01-18 20:26 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP20 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cdc18afeeefd | ||||
Projection | none | ETA | none | Target Version | 3.0MP20 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022429: Simplify code promotion from testing to production environment | |||||||
Description | Implement a mechanism to promote modules from testing to production environment through obx files. This mechanism will allow to export all modules in an environment as a single obx file that can be easily deployed in a different instance. | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | It will be required to create an umbrella module to consolidate all installed modules in it, this will be the module the obx will be generated for. When exporting in this mode, not only inclusions but also dependencies will be included. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0054656) alostale (viewer) 2012-11-29 14:40 |
Attached proposed solution. ant package.module accepts now obx.export.allDeps property, which is defaulted to false. When it is true, all dependencies are recursively exported, not just inclusions. In this manner, having a module that depends directly or indirectly in the rest of all installed modules, exporting it all modules in the instance are in the obx. |
(0055543) alostale (viewer) 2013-01-16 12:38 |
Documented in http://wiki.openbravo.com/wiki/Development_Build_Tasks#Modules [^] |
(0055544) hgbot (developer) 2013-01-16 12:38 |
Repository: erp/devel/pi Changeset: cdc18afeeefd9350af9d6d582b3c1a8171341692 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Nov 29 14:36:33 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/cdc18afeeefd9350af9d6d582b3c1a8171341692 [^] fixed issue 22429: Simplify promotion from testing to production environments --- M build.xml M src/org/openbravo/erpCommon/modules/ExtractModule.java M src/org/openbravo/erpCommon/modules/ExtractModuleTask.java M src/org/openbravo/erpCommon/modules/ExtractModule_data.xsql M src/org/openbravo/erpCommon/modules/ImportModule.java M src/org/openbravo/erpCommon/modules/ModuleUtiltiy.java --- |
(0055601) AugustoMauch (administrator) 2013-01-18 11:16 |
Code reviewed and verified in pi@f798272afb9c |
(0055602) AugustoMauch (administrator) 2013-01-18 11:21 |
Test plan: - Package the module Widgets Collection without including the dependencies: ant package.module -Dmodule=org.openbravo.client.widgets - The resulting obx only includes the folder org.openbravo.client.widgets. - Package the same module including its dependencies: ant package.module -Dmodule=org.openbravo.client.widgets -Dobx.export.allDeps=true - The resulting obx contains the following: -----org.openbravo.client.widgets (folder) -----org.openbravo.client.myob-2.1.19217.obx (org.openbravo.client.widgets dependency) -----------org.openbravo.client.myob (folder) -----------org.openbravo.client.application-2.1.19217.obx (org.openbravo.client.myob dependency) ----------------- client application folder and its dependencies, etc |
(0055633) hudsonbot (viewer) 2013-01-18 20:26 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4cd4a6cc38e0 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-11-29 14:28 | alostale | New Issue | |
2012-11-29 14:28 | alostale | Assigned To | => alostale |
2012-11-29 14:28 | alostale | Modules | => Core |
2012-11-29 14:28 | alostale | OBNetwork customer | => No |
2012-11-29 14:37 | alostale | File Added: issue-22429.export | |
2012-11-29 14:40 | alostale | Note Added: 0054656 | |
2013-01-11 10:31 | alostale | Triggers an Emergency Pack | => No |
2013-01-11 10:31 | alostale | Target Version | 3.0MP19 => 3.0MP20 |
2013-01-16 12:27 | alostale | Review Assigned To | => AugustoMauch |
2013-01-16 12:27 | alostale | Issue Monitored: AugustoMauch | |
2013-01-16 12:38 | alostale | Note Added: 0055543 | |
2013-01-16 12:38 | hgbot | Checkin | |
2013-01-16 12:38 | hgbot | Note Added: 0055544 | |
2013-01-16 12:38 | hgbot | Status | new => resolved |
2013-01-16 12:38 | hgbot | Resolution | open => fixed |
2013-01-16 12:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cdc18afeeefd9350af9d6d582b3c1a8171341692 [^] |
2013-01-18 11:16 | AugustoMauch | Note Added: 0055601 | |
2013-01-18 11:16 | AugustoMauch | Status | resolved => closed |
2013-01-18 11:16 | AugustoMauch | Fixed in Version | => 3.0MP20 |
2013-01-18 11:21 | AugustoMauch | Note Added: 0055602 | |
2013-01-18 20:26 | hudsonbot | Checkin | |
2013-01-18 20:26 | hudsonbot | Note Added: 0055633 |
Copyright © 2000 - 2009 MantisBT Group |