In this post I will describe some miscellaneous feature which didn’t find a place in the other EMF tutorials but are very useful.
Tag: Xpand

EMF: Constraints Checking
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.

EMF: Advanced Xpand Project – Runnable JAR
In this blog post you will see how to create a runnable JAR file which will run directly the code generation outside of Eclipse.

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: 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.