I'm helping a friend develop a Java application. They are a non-MS shop.
I was tasked to write some repetitive code, so naturally as a .NET dev I thought of using T4.
But I'm stuck on Java/Eclipse (and no C# is allowed) so what are my options?
What do Java people use for code generation? Build tasks?
Take a peek at Velocity's Texen engine, connected to an Ant task.
You might also want to take a look at XText[1] and AndroMDA[2], both different from T4, but well suited to problems involving lots of repetitive-code.
[1] http://www.eclipse.org/Xtext/
[2] http://www.andromda.org/index.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With