Re: A bug with DispatchTask?

2007-09-25 Thread Derek Alexander
Derek Alexander wrote: > > Seems to be a bug in DispatchTask, or am I doing something wrong? > No bug. I'd renamed the action method but not updated the value of the action attribute. The error message shown could perhaps be more useful though. D. -- View this message in

A bug with DispatchTask?

2007-09-24 Thread Derek Alexander
Seems to be a bug in DispatchTask, or am I doing something wrong? package foo; import org.apache.tools.ant.dispatch.DispatchTask; public class Baa extends DispatchTask { public void beep() throws BuildException { ... } ... } ... Apache Ant version

Synchronizing processes in ant

2007-09-14 Thread Derek Alexander
Hi, Need to ensure that the same ant task can't be run multiple times concurrently by the same user. Having checked the docs, googled and searched the list archives am surprised not to have found any convenient way to do this. Am starting to look at combining the waitfor task with java.nio.channe