Did you ever used Eclipse? Never? Then, now is the time!
Lets generate some crap…
- So, first we need Eclipse. Next, install the open-source modeling tool Topcased and code generator Acceleo into Eclipse.
- 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)
- Model something (*.umldi), for example a silly 101 school model. You see them often, especially here.
- Create a stunning generator-template (*.mt)
- Generate some code (*.cs), and finally
- 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.
Comments