ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Duncan Davidson" <james.david...@eng.sun.com>
Subject Re: Macro task (was: Subtasks within tasks)
Date Fri, 25 Feb 2000 23:28:58 GMT
> It would also be good to be able to define macros, for example
>
> <macrotask name="mymacro" properties="param1, param2" >
>     <javac src="${param1}" ... />
>     <copyfile src="${param2}" dest=... />
> </macrotask>

-1.

If you want to have a test of tasks executed, then set them up as a seperate
target that is depended on. Once again, my argument is that the design
intent was for the build.xml file to be totally declaritive and not contain
logic.

.duncan


Mime
View raw message