Development

Subversion

Git

Git repositories for Origo are only available on oriact.com


Development Setup

We use the eclipse ide with the following plugins:

  • subversive to connect to source control management (version 0.7.9 with connector versions 2.2.2)
  • window builder for the swing gui (version 1.1.0)
  • junit4 for unit testing (integrated with jdt plugin from eclipse)
  • jscience for unit handling and conversion (included in lib directory)
  • GeneSEZ (version at least one with namespace prefix change from de to org from trunk, 2.0.296 no longer sufficient)

GeneSEZ dependencies:

  • emf 2.7.1
  • uml2 3.2.1
  • mwe 2.1.0
  • mwe2 2.1.0
  • xpand 1.1.1

Project Layout

The *.generator project contains the source code generator for the project. Most important files are:

  • config / transformation.mwe to start the generator
  • config / typemapping.xml definitions to map data types of the model to existing classes

The project directory contains three source folders:

  • src for source files manually created or automatically created using the graphical gui builder (windows builder)
  • src-gen for source files generated by genesez
  • test for junit test files

The model directory contains the magic draw model of the project. This model project is automatically configured to ask for export on save click. The output path for export is configured using relative paths and should work (at least on windows).