Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 89435 invoked from network); 18 Jun 2007 14:01:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2007 14:01:13 -0000 Received: (qmail 34363 invoked by uid 500); 18 Jun 2007 14:01:14 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 34325 invoked by uid 500); 18 Jun 2007 14:01:14 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 34312 invoked by uid 99); 18 Jun 2007 14:01:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 07:01:14 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=MAILTO_TO_SPAM_ADDR,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 07:01:09 -0700 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l5IE0jHZ001942 for ; Mon, 18 Jun 2007 16:00:45 +0200 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Mon, 18 Jun 2007 16:01:02 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Extending Java task to run external class X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 18 Jun 2007 16:00:18 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Extending Java task to run external class Thread-Index: AcexrpRxZL7Fjh6UQRWYqGl/W8C8HQAAa0bg From: To: X-OriginalArrivalTime: 18 Jun 2007 14:01:02.0914 (UTC) FILETIME=[1B539A20:01C7B1B1] X-Virus-Checked: Checked by ClamAV on apache.org When using task-classes 1. instantiate them (new T) 2. initialize them (setX, addX) 3. maybe add a Project instance for logging 4. run them (execute) Therefore: not the setFork() method runs the class in a different VM, the execute() method does it - if fork is set to true. see http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/= ant/taskdefs/Java.java Jan >-----Urspr=FCngliche Nachricht----- >Von: Phoenix1405 [mailto:Phoenix1405@yahoo.com]=20 >Gesendet: Montag, 18. Juni 2007 15:43 >An: dev@ant.apache.org >Betreff: Re: Extending Java task to run external class > > >when that's true, does that mean the protected method run will=20 >run the class >in a different VM? > > >Steve Loughran wrote: >>=20 >>=20 >>=20 >> call setFork(true); that's a public method >>=20 >>=20 >>=20 > >--=20 >View this message in context:=20 >http://www.nabble.com/Extending-Java-task-to-run-external-class >-tf3929592.html#a11175166 >Sent from the Ant - Dev mailing list archive at Nabble.com. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org