ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Duncan Davidson <james.david...@eng.sun.com>
Subject Re: [PATCH] multithreading tasks
Date Fri, 23 Jun 2000 11:51:06 GMT
on 2000/06/22 11:19, Rick Yazwinski at rick.yazwinski@solect.com wrote:

> Did I miss the XML example? :(  Is there an archive?  Conor, can you send it
> again?
> 
> Looking at James' reply I kinda get the feel for the build.xml.  I have to
> admit that I was thinking something more like:
> <async name="task1" host="machine1">
> <task... />
> <task... />
> etc...
> </async>
> <async name="task2">
> <task... />
> <task... />
> etc...
> </async>

Hmmm... That's not a bad idea either.. No joins have to be declared as they
are explicitly marked out. Then Sleep is a simple task that is a no-op
(basically).

That would give a possible object graph of:

    project
       *taskdefs
       *properties
       *targets
           *tasks
           *async
              *tasks

.... We're definitly not done yet exploring the boundaries of this one. :)

.duncan


Mime
View raw message