Appendix D. Revision Controlling the Model

Using revision control is a prudent part of any development process. Here we present information about using a configuration managment system with model-based development.

Key Files and Directories

When using BridgePoint to do model-based development, the key components that should be placed under revision control are the markings, the model, and the eclipse support files.

The generated source code does not need to be controlled, as it is always available by compiling the model.

Here is a sample of the files and directories that should be placed in revision control.

  • <project name>

    • .externalToolBuilders/
    • gen/
    • models/
    • .project

Nearly all files (*.mark, *.c, *.h) under the gen/ folder should be revision controlled. There is one exception: the subdirectory code_generation/ and its contents should not. Therefore, be sure to delete the code_generation/ directory before checking the project into revision control.