Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 62233 invoked by uid 500); 19 Feb 2003 05:11:36 -0000 Received: (qmail 62230 invoked from network); 19 Feb 2003 05:11:36 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 19 Feb 2003 05:11:36 -0000 Received: (qmail 40505 invoked by uid 1108); 19 Feb 2003 05:11:35 -0000 Date: 19 Feb 2003 05:11:34 -0000 Message-ID: <20030219051134.40504.qmail@icarus.apache.org> From: shemnon@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs ParallelTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N shemnon 2003/02/18 21:11:34 Modified: docs/manual/CoreTasks parallel.html src/etc/testcases/taskdefs parallel.xml src/testcases/org/apache/tools/ant/taskdefs ParallelTest.java Log: Improve reliability if ant parallel task tests docuemnt new attrutes to parallel task Revision Changes Path 1.9 +70 -0 ant/docs/manual/CoreTasks/parallel.html Index: parallel.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/parallel.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- parallel.html 4 Sep 2002 11:05:16 -0000 1.8 +++ parallel.html 19 Feb 2003 05:11:34 -0000 1.9 @@ -11,6 +11,31 @@

Description

Parallel is a container task - it can contain other Ant tasks. Each nested task within the parallel task will be executed in its own thread.

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
threadCountMaximum numbers of thread to use.No
threadsPerProcessorMaximum number of threads to use per available processor +(Requires JDK 1.4)No, defers to threadCount
pollIntervalMaximum number of milliseconds to wait for before checking +when waiting for available threads.No, default is 1000

Parallel tasks have a number of uses in an Ant build file including: