Skip to content
Ingo Mohr edited this page Oct 16, 2016 · 1 revision

Dev Updatesite URL

http://www.ustok.org/downloads/dev/extgen/updatesite/

How to Commit Changes

Please use the format #<issue number>: <short change description>.

Example: #24: Fixed problem with method foobar(). The bar was missing.

Using Acceleo

ExtGen uses Acceleo - see https://www.eclipse.org/acceleo/ - for Java code generation.

The template files (mtl) are compiled by Acceleo to xmi files (emtl). For this, you need to have the Acceleo SDK installed in your Eclipse.

Build Problem: Missing emtl Files

When built using Maven tycho, the emtl files were missing in the built jars. To solve this problem, we use a workaround of having an additional source folder "src/emtl" in the core plug-in which contains all the emtl files from the latest local build.

The workaround is error-prone because the developer has to manually make sure that the right compilation unit for an mtl file is available. We should get to a proper solution in the future.

CI

We've setup Travis CI for this. At the moment, this builds the updatesite and runs all unit tests. That's all. The build created by the CI is dropped by Travis.

Future: We want to improve the CI so that the udpatesite is automatically deployed as Dev Repo.

Running Acceptance Tests

The acceptance tests are not included in the root build pom. This is because there's currently no way to run those with Travis.

Workaround is to run the acceptance tests after having built (and/or installed) ExtGen.

Deploying Build as Dev Updatesite

Currently, this has to be done manually.

Clone this wiki locally