Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 2389 invoked from network); 16 Jun 2000 14:24:14 -0000 Received: from tele-post-20.mail.demon.net (194.217.242.20) by locus.apache.org with SMTP; 16 Jun 2000 14:24:14 -0000 Received: from [195.173.106.11] (helo=peopledoc.com) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 132x2b-0005Nt-0K for ant-dev@jakarta.apache.org; Fri, 16 Jun 2000 14:24:13 +0000 Message-ID: <394A388C.1D9F0BB@peopledoc.com> Date: Fri, 16 Jun 2000 15:24:12 +0100 From: Stuart Barlow X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: Re: running java programs and the classpath References: <1577A38E31BFF2EF80256900004BE08C.004BE11E80256900@peopledoc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks for the reply. Does this mean that I can specify a java task as follows... Stefan Bodewig wrote: > > Hi Stuart, > > >>>>> "SB" == Stuart Barlow writes: > > SB> When I run the javac task I can define the classpath but not for > SB> the java task? > > Oh you can, but as long as you don't use fork="true" this is going to > be ignored as the java task executes in the same VM and uses the same > ClassLoader as Ant. > > Stefan -- --------------------------------------------------------------------------- Stuart Barlow +44 131 468 8205