ConverterRepository » History » Version 1

J. Wienke, 08/11/2011 02:43 PM

1 1 J. Wienke
h1. Converter Repository
2 1 J. Wienke
3 1 J. Wienke
Several applications using project:rsb as their middleware will require converters from RST-types to specific domain objects, e.g. rst.ImageMessage to OpenCV images. The folder source:/trunk/converter-repository will serve as a first working solution to collect these converters. This is probably not the final solution but several issues have to be addressed by any potential solution:
4 1 J. Wienke
* Converters depend on different libraries, e.g. the OpenCV converter will add a dependency to OpenCV. The repository itself, if compiled into a single library, would depend on many different libraries making it unusable.
5 1 J. Wienke
* Converters exist for different programming languages
6 1 J. Wienke
7 1 J. Wienke
The current solutions is as follows:
8 1 J. Wienke
* The root of the repository is organized by language folders.
9 1 J. Wienke
* Every converter is checked in into a dedicated folder only for this converter in its language directory.
10 1 J. Wienke
* Every converter is placed into a namespace/package/module to reflect the structure @rst/converter/ConverterName@.
11 1 J. Wienke
* The converter repository does not contain any build logic. It is the user's task to build the converter and integrate it into his or her project.
12 1 J. Wienke
* Users should integrate the converters into their project by either using "svn externals":http://svnbook.red-bean.com/en/1.0/ch07s03.html or other solutions that pull in the latest code or a specific version/branch automatically. Copying the source is only the last solution