Re: FYI: Ant as macro processor
I think VPP is a nicer way to go about doing this sort of thing: http://vpp.sourceforge.net/ However, I personally cringe thinking of Java pre-processing instead of architecting in more flexible design patterns. I love VPP for general generation though - it's incredibly useful.
FYI: Ant as macro processor
FYI: I have found a nice blog about using Ant as a little pre processor (ifdef,endif) for Java. http://weblogs.java.net/blog/schaefa/archive/2005/01/how_to_do_condi_1.html cheers Jan