added a workaround for variable passing from Ant macros to Groovy :-(