ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: Fw: Control flow (if,while,for) proposal in ant (xml based).
Date Thu, 09 Nov 2000 21:53:32 GMT
----- Original Message -----
From: "Stefan Bodewig" <bodewig@bost.de>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, November 09, 2000 3:07 PM
Subject: Re: Fw: Control flow (if,while,for) proposal in ant (xml based).


> Nico Seessle <Nico.Seessle@epost.de> wrote:
>
> > How about extending the pattern of a Task to allow any task to
> > become and element of a task if it allow it?
>
> If we wanted to allow for something like this, I'd probably see it
> along the lines of
>
> public abstract class EnvelopeTask extends Task {
>
>     file://call project.createTask and do something clever with it
>     public abstract Task createTask(String name);
> }
>
> and add a EnvelopeTaskHandler to ProjectHelper to support this.

I'm not sure I understand this...

ProjectHelper will only allow for createTask in subclasses of EnvelopeTask?

Nico



Mime
View raw message