Index: TargetExecutor.java =================================================================== RCS file: /cvs/ant/src/org/apache/tools/ant/module/run/TargetExecutor.java,v retrieving revision 1.22 diff -c -r1.22 TargetExecutor.java *** TargetExecutor.java 11 Jun 2002 12:35:48 -0000 1.22 --- TargetExecutor.java 22 Jul 2002 10:40:24 -0000 *************** *** 154,167 **** //System.err.println("execute #3: " + this); } //System.err.println("execute #5: " + this); ! return new WrapperExecutorTask (task); } private class WrapperExecutorTask extends ExecutorTask { private ExecutorTask task; public WrapperExecutorTask (ExecutorTask task) { super (new WrapperRunnable (task)); this.task = task; - this.run(); } public void stop () { task.stop (); --- 154,169 ---- //System.err.println("execute #3: " + this); } //System.err.println("execute #5: " + this); ! // #24506 ! ExecutorTask wrapper = new WrapperExecutorTask (task); ! RequestProcessor.getDefault().post(wrapper); ! return wrapper; } private class WrapperExecutorTask extends ExecutorTask { private ExecutorTask task; public WrapperExecutorTask (ExecutorTask task) { super (new WrapperRunnable (task)); this.task = task; } public void stop () { task.stop ();