Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 44452 invoked from network); 8 Jun 2007 23:45:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 23:45:10 -0000 Received: (qmail 86745 invoked by uid 500); 8 Jun 2007 23:45:12 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 86711 invoked by uid 500); 8 Jun 2007 23:45:12 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 86702 invoked by uid 99); 8 Jun 2007 23:45:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 16:45:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of nbeyer@gmail.com designates 64.233.162.227 as permitted sender) Received: from [64.233.162.227] (HELO nz-out-0506.google.com) (64.233.162.227) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 16:45:08 -0700 Received: by nz-out-0506.google.com with SMTP id m7so842669nzf for ; Fri, 08 Jun 2007 16:44:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Oc7exIi5/ycllfweFvkZO8sBQswLNeDlg9BY6KMEy4Q6iqNgmGizx1W8VedSHrNsXJmexqtyUAmfYqect8mx1aKMXUHOgWELtPeyjQxECjRfAs+NeMrwWP5maEnQvG6wWpOOFLLdCC92ZseVfahxD3fu6Fo743dpSQD+/stBHrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PtJ1GOLXrUPPKtYPDYBdIlBdsgatOw1o5xqrbSyVDyAayJ2v4nou/ZQ8Ad9fdFf/uBL5Vtkzfn/VAE9LwB+eoeIVI5299Gk7XAUY2HZ8z4eu3h90c12MflGMCzQ9FdTZl2wiE17T6/JTJoyqqq+Spcy5mIknzrb7dj5IRNbqJw8= Received: by 10.142.79.15 with SMTP id c15mr173809wfb.1181346286990; Fri, 08 Jun 2007 16:44:46 -0700 (PDT) Received: by 10.143.2.15 with HTTP; Fri, 8 Jun 2007 16:44:46 -0700 (PDT) Message-ID: <3b3f27c60706081644u656c2502i33ef733d1c0d8a37@mail.gmail.com> Date: Fri, 8 Jun 2007 18:44:46 -0500 From: "Nathan Beyer" Sender: nbeyer@gmail.com To: dev@harmony.apache.org Subject: Re: svn commit: r544529 - in /harmony/enhanced/buildtest/branches/2.0: buildtest.bat buildtest.sh In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070605160039.508381A981A@eris.apache.org> <3b3f27c60706052141y1fb0c792m5e4b1dd59d2ebbce@mail.gmail.com> <3b3f27c60706062012t111df0a1n61c17c045ae2fbc3@mail.gmail.com> X-Google-Sender-Auth: d55845cf3344c833 X-Virus-Checked: Checked by ClamAV on apache.org On 6/7/07, Alexander Kleymenov wrote: > On 6/7/07, Nathan Beyer wrote: > > Okay, I see the difference. Wouldn't the '%~dp0' expansion be the most > > flexible? It would allow proper setup if executed in a different > > folder? > > I've no objection against ~dp (+1). > But to be more correct here, we should place this path not into > CLASSPATH, but into PATCHED_ANT_CLASSES and append it to ant launcher > by means of -lib option. So, if we do this, then we can remove setting the CLASSPATH in environment altogether? This seems cleaner and less like magic, which is always good. -Nathan > > > Why does the current directory (".") need to be in the classpath? > > I couldn't figure out what's being placed in there. > > Some child java processes are launched without -classpath option and > expect the classes in their cwd (default JVM behaviour). This dot in > CLASSPATH satisfies these expectations. If we will run ant without > changes in CLASSPATH this dot won't be needed (as and "SET CLASSPATH" > itself). > > Thanks, > Alexander >