[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    Re: Macro task (was: Subtasks within tasks)
From:       "James Duncan Davidson" <james.davidson () eng ! sun ! com>
Date:       2000-02-25 23:28:58
[Download RAW message or body]

> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic