Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 9211 invoked from network); 28 Sep 2003 17:37:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Sep 2003 17:37:48 -0000 Received: (qmail 82688 invoked by uid 500); 28 Sep 2003 17:37:38 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82650 invoked by uid 500); 28 Sep 2003 17:37:37 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 82635 invoked from network); 28 Sep 2003 17:37:37 -0000 Received: from unknown (HELO ukhwmh01.bea.com) (194.203.25.10) by daedalus.apache.org with SMTP; 28 Sep 2003 17:37:37 -0000 Received: from UKHWEX01.emea.bea.com (ukhwex01.bea.com [10.0.0.15]) by ukhwmh01.bea.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id h8SHbbXC032315; Sun, 28 Sep 2003 18:37:38 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: [PATCH] JUnit task - forking only once for a batch Date: Sun, 28 Sep 2003 18:37:37 +0100 Message-ID: <5A87ED8F2E79A74297A57E17552CAFDC0118C41E@ukhwex01.emea.bea.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] JUnit task - forking only once for a batch Thread-Index: AcOF5TlD+yhb0RsGRnuf3/jRk5qnbwAAW8ag From: "Philip Aston" To: "Jim Dixon" Cc: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Jim Dixon [mailto:jdd@dixons.org] > Sent: 28 September 2003 18:23 > To: Philip Aston > Cc: dev@ant.apache.org > Subject: Re: [PATCH] JUnit task - forking only once for a batch >=20 >=20 > On Sun, 28 Sep 2003, Philip Aston wrote: >=20 > > > > On Tue, 23 Sep 2003, Philip Aston wrote: > > > > > and would they like > > > > > > > > I'd like to see it, at least. > > > > > > > > > > OK, I'll cut a patch at the weekend. > > > > Patch and new file attached for consideration. Example usage: > > > > > > > > > > > > > > > > > > > > > > > > > > If its OK, I'm more than happy to update the docs. >=20 > Second request: how does this differ from fork=3D"false"? A single process is forked which is used to execute all the tests defined by the batchtest. In my environment, forking can take up to a second. This makes the fork per test model of the unadulterated batch process very expensive. We need to fork the tests because we want different classpaths, library paths, system properties etc. to ANT.=20 > Are you passing a list of tests to the test runner or what? Yes, a list of the tests is passed to the forked process through a temporary file. - Phil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org