ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [DISC] Task API
Date Mon, 02 Apr 2001 08:53:00 GMT
Tim Vernum <Tim.Vernum@macquarie.com.au> wrote:

> From: Stefan Bodewig [mailto:bodewig@apache.org]
> 
>> > When it is a container task or a dynamic one like proposed for
>> > property. ie
>> > 
>> > <if test="...">
>> >   <some-other-task/>
>> > </fi>
>> 
>> I still don't get it, sorry. Somehow
>> If.createTask("some-other-task") or similar would have been called
>> anyway, wouldn't it?
> 
> Unless a brainfart is getting to me, then the current API would do
> 
> 	Task taskIf = new IfTask() ;
> 	taskIf.createSomeOtherTask() ;
> 
> which is not what you want.

Pete referred to "container task", which is another request, that all
people seem to agree with - i.e. extend the current API to let Tasks
have arbitrary task children via something like a createTask(String)
method.

Stefan

Mime
View raw message