In this tutorial i will show you how to define constraints, which could be checked before starting the generation process. If a constraint fails, we can stop the generation process.
Tag: EMF

EMF: Advanced Xpand Project – Java
In this post I will show you how to use Java methods in order to do more complex operations with EMF and the Xpand templates.

EMF: Advanced Xpand Project – The Template Part
This post explains how to write the header, source and main template in order to generate code from the parsed XML files.

EMF: Advanced Xpand Project – Workflow And XML
In this blog post we will start creating a new and more advanced code generation project. It will parse XML files and will generate code.

EMF: Improving Our First Xpand Project – Xpand Protected Regions
This blog post explains the usage of Xpand protected regions and their usage in the Xpand templates for preserving the user updates.

EMF: Improving Our First Xpand Project – Xpand Extension
In this post we will introduce the Xpand extension files. They provide us with a way to write helper functions or call Java methods.