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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022429
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2012-11-29 14:282013-01-18 20:26
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP20
StatusclosedFix in branchFixed in SCM revisioncdc18afeeefd
ProjectionnoneETAnoneTarget Version3.0MP20
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022429: Simplify code promotion from testing to production environment

DescriptionImplement 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 ReproduceN/A
Proposed SolutionIt 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.
TagsNo tags attached.
Attached Files? file icon issue-22429.export [^] (15,639 bytes) 2012-11-29 14:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054656)
alostale (manager)
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 (manager)
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 (manager)
2013-01-18 11:16

Code reviewed and verified in pi@f798272afb9c
(0055602)
AugustoMauch (manager)
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 (developer)
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

- Issue History
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: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
Powered by Mantis Bugtracker