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?