View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Show collection (0 pages)
Collections help


ERP 2.50:Developers Guide/How To Use a dbsm from a newer version of ob

ERP 2.50:Developers Guide



DBSourceManager is the tool that Openbravo uses for all its database management related tasks, and is behind the well known create.database, update.database, export.database and export.config.script tasks.

In most situations, its functionality is enough to do whatever development task is needed. However, Openbravo keeps updating it to support more database features, and fix bugs, and in some cases, it might be convenient to use a newer version of it to export the development changes to modules before updating Openbravo.

This document describes how to use the last dbsourcemanager in an earlier version of Openbravo. It is necessary to be in MP17 or later to be able to follow this instructions.

How to update dbsourcemanager

First, it's necessary to have access to the main branch of Openbravo. From there, you will get the newest dbsourcemanager files. The branch itself is here. You can get the files using Mercurial:

hg clone openbravo

The process is simple, you just need to copy the following files from the main branch and replace the corresponding ones from your Openbravo instance with them:

After you've copied the files, you can use the normal database tasks (update.database, export.database, ...), and they will be using the new dbsourcemanager.

Retrieved from ""

This page has been accessed 3,674 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.