On 2009-09-30, Raja Nagendra Kumar <nagendra.r...@tejasoft.com> wrote:
> Yes, I could but I loose the flexibility of calling from command line. <macrodef name="originalTarget"> <sequential> original-content-of-your-target </sequential> </macrodef> <target name="originalTarget"> <!-- may need to set attributes from property values --> <originalTarget/> </target> should work for that usecase. > To our surprise.. when such a changes are done, they work from xml but it > does not work custom task (based on project.createTask() and execute() ) > methods. If you mean Project#createTask doesn't work for macrodef-ed or presetdef-ed tasks - this is true. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org