On Thu, 18 Jul 2002, Stephane Bailliez wrote: > I don't understand as to me what you want is like putting some java > code anywhere in a class but outside the methods. This is possible for all versions of Ant, the code is and and since 1.5 . A few months ago we agreed to stretch this concept to all tasks, so that we no longer have to rely on magic names. See . Try this in Ant 1.5 Hello world It is going to work. If you disagree with allowing all tasks outside of targets, I'll have to revert a bit more of code, I guess. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: