ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Munz" <mm...@apelon.com>
Subject (Solved) RE: WaitFor doesn't extend Task so it can't be used as a Task programmatically
Date Tue, 06 Aug 2002 12:50:16 GMT
Stefan,

  I didn't do anything nearly as elegant/tricky :)  TaskAdapter is quite
useful.  Thanks!

  - Matt

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Tuesday, August 06, 2002 2:37 AM
To: ant-dev@jakarta.apache.org
Subject: Re: WaitFor doesn't extend Task so it can't be used as a Task
programmatically


On Mon, 5 Aug 2002, Matt Munz <mmunz@apelon.com> wrote:

>   I created a wrapper class that treats WaitFor like a Task.

Sounds like you've reinvented org.apache.tools.ant.TaskAdapter which
is used by Ant internally whenever it needs to treat an arbitrary
Object as a Task.

Stefan


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message