Developing a Repository

Steps To Building Your Own Repository

  1. Implement the RepositoryFacade
  2. Create a META-INF/services/org.andromda.core.repository.RepositoryFacade service file that contains ONLY the name of your repository facade implementation class, for example the META-INF/services/org.andromda.core.repository.RepositoryFacade file for the MDRepositoryFacade contains only: org.andromda.repositories.mdr.MDRepositoryFacade
  3. Jar up the contents of your repository implementation and the service file META-INF/services/org.andromda.core.repository.RepositoryFacade into a new jar.
  4. Place this new jar on your classpath instead of (or before) the default repository jar used by AndroMDA.
  5. Run AndroMDA and it will use the new repository instead of the default repository.