This article shows you how to write an AndroMDA cartridge in 10 distinct steps, using a sample cartridge which generates an Ant-like build script from a UML deployment model. This is why the tutorial cartridge is called "andromda-deployment".
When you have found the core concepts of your target platform, design them into classes, the PSM metaclasses. They will form the PSM metamodel.
Inside a PSM metaclass…
Later on, templates will transform PSM metaobjects to text format
For our deployment cartridge sample, the PSM metamodel looks like this:
With this metamodel, you have a clear understanding of what an Ant build file contains (at least for the scope of this tutorial):