ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Pita" <>
Subject RE: RV: Nesting Tasks
Date Tue, 18 Jul 2000 15:55:43 GMT
    Thank you for the info.

    Regards a NestingTask subclassing or not a Task I believe that despite
some differences there is a lot (well, actually a Task hasn't a lot of
features) of commonalty. But I never was completly sure about this, so I
accept that they could be thought as not being Tasks. In fact, the idea was
rounding my mind from the first time.

  About another kind of functionality for NestingTasks: they could implement
some kind of conditional structures (switch, if, etc.) nesting "dummy" else,
elseif, case tasks; they could implement some kind of procedures, the
special set being the parameters, the nested tasks the body. I think the
proposal is very general so a lot of control tasks with very different
semantics are allowed by it (it is a powerful hook, don't you think?).


----- Original Message -----
From: Stefan Bodewig <>
To: <>
Sent: Tuesday, July 18, 2000 8:31 AM
Subject: Re: RV: Nesting Tasks

> >>>>> "CP" == Carlos Pita <> writes:
>  CP> I had a feeling about the script Task being some kind of solution
>  CP> to the problems that originated my proposal (for example jar'ing
>  CP> classes in an arbitrary list of dirs given, for example, as a -D
>  CP> parameter to ant into a number of jars, one for each dir).
> XSLT can be another solution to this problem when the dirs are known
> up front.
>  CP> But I couldn't find out anything about BSF - the ibm site's open
>  CP> source section devoted to BSF has only a web access to the CVS
>  CP> and a broken become_a_contributor link-.
> I now see how you want to implement your NestingTask approach, it
> doesn't actually need to be a subclass of Task as ProjectHelper would
> have to handle it differently anyway.
> What other kind of functionality of a NestingTask would you envision,
> apart from the foreach thingy you've described?
> Stefan

View raw message