----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 09, 2000 3:07 PM
Subject: Re: Fw: Control flow (if,while,for) proposal in ant (xml based).


> Nico Seessle <[EMAIL PROTECTED]> 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


Reply via email to