Getting and modifying generator module sources

As a free software project, the generator modules sources are available through the Subversion repository. Using these sources one may understand or enhance a module.

All these sources (and the Acceleo ones) are stored on the Subversion repository of the project. You may directly use this repository but some modules provide a quicker and easier way to get the sources directly from Eclipse. This uses the Team Project Set files.

If the module you want to modify provides such a file, download it and keep it in arm's reach. Here we'll use the file provided by the Ecore2Python module.

Your Eclipse installation should have a Subversion support to use these files, you may use either the Subversive or Subclipse plugin.
The Eclipse bundles provided by the Acceleo project all include Subversive.
  • Start Eclipse. As yet the workspace is empty.

    Eclipse with an empty workspace
    Eclipse with an empty workspace
  • Choose the File -> Import... -> action from the menu.

    .
    Import menu
    Import menu

    Choose Team Project Set then click on Next.

    Importing a team projet set
    Importing a Team Project Set
  • You should now specify which file to import, here it's Ecore2Python-projectSet.psf. This file can be downloaded from the corresponding module web page.

    import settings
    Import settings
  • Once the file is selected click on Finish.

    Imported projects
    Imported projects
  • The Eclipse projects are automatically imported in the current workspace, you may now start modifying the templates!

    module templates
    Modified templates
Webdesign : www.katrinet.com - Realisation : Obeo