Did you ever used Eclipse? Never? Then, now is the time!

image

Lets generate some crap…

  1. So, first we need Eclipse. Next, install the open-source modeling tool Topcased and code generator Acceleo into Eclipse.
  2. Next, spend a couple of hours in finding out how it all should work together.(To be honest, it didn’t take hours but – that’s why I don’t like using Eclipse – it took me too long to configure and make it work)
  3. Model something (*.umldi), for example a silly 101 school model. You see them often, especially here.
  4. Create a stunning generator-template (*.mt)
  5. Generate some code (*.cs), and finally
  6. Compile the generated code in your – and mine, of course – ***favorite*** integrated development environment. Wow, man. I created real compilable C# code.

Thus, nice work.