Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 44390 invoked from network); 10 Jun 2005 19:45:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 19:45:16 -0000 Received: (qmail 94227 invoked by uid 500); 10 Jun 2005 19:45:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94180 invoked by uid 500); 10 Jun 2005 19:45:15 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 94150 invoked by uid 99); 10 Jun 2005 19:45:15 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from over.ny.us.ibm.com (HELO over.ny.us.ibm.com) (32.97.182.150) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 12:45:12 -0700 Received: from e33.co.us.ibm.com (e33.esmtp.ibm.com [9.14.4.131]) by pokfb.esmtp.ibm.com (8.12.11/8.12.11) with ESMTP id j5A5km9v017386 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Fri, 10 Jun 2005 01:46:49 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j5A5jVmD048028 for ; Fri, 10 Jun 2005 01:45:31 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j5A5jVCR127828 for ; Thu, 9 Jun 2005 23:45:31 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j5A5jUZd016978 for ; Thu, 9 Jun 2005 23:45:30 -0600 Received: from [127.0.0.1] (sig-9-48-115-75.mts.ibm.com [9.48.115.75]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j5A5jTS4016934 for ; Thu, 9 Jun 2005 23:45:30 -0600 Message-ID: <42A928F8.9030707@debrunners.com> Date: Thu, 09 Jun 2005 22:45:28 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: XML build problem References: <42A8C9FB.3010704@debrunners.com> <42A8CDC0.5090801@debrunners.com> <54ac72d7050609161813dbe547@mail.gmail.com> <42A8CEC5.4080902@debrunners.com> <54ac72d705060916381a8c516@mail.gmail.com> <42A8DA0F.4070309@debrunners.com> <88C57371-2F6F-44FD-BEA5-D94513AD2C6F@gmail.com> In-Reply-To: <88C57371-2F6F-44FD-BEA5-D94513AD2C6F@gmail.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Andrew McIntyre wrote: > > On Jun 9, 2005, at 9:24 PM, Andrew McIntyre wrote: > >> >> On Jun 9, 2005, at 5:08 PM, Daniel John Debrunner wrote: >> >>> Actually does that work? With ant it seems that within a properties >>> file >>> property expansion does not work. At least for properties defined in >>> the same file. >>> >>> E.g. >>> >>> j14lib=c:/ibm142/jre/lib >>> j13lib=c:/ibm131/jre/lib >>> java14compile.classpath=${j14lib}/core.jar;${j14lib}/server.jar;$ >>> {j14lib}/xml.jar >>> >>> Never seems to work for me, I have to expand the j14lib to hard coded >>> values. >> >> >> I know that it works on non-Windows platforms, as that is how I set >> up my ant.properties on Linux and Mac OS X. But I have not ever >> tested it on Windows. I will test it there and get back to you. > > > Works for me on Win2k, with IBM JDK 1.4.2 and Ant 1.6.1. Which version > of Ant are you using? ant 1.6.2 I've wondered if it is due to the fact that once the properties file is read into a Properties object, the order of any enumeration is not guaranteed. Thus the code may process the java14compile.classpath before j14lib, or something along those lines. Thus it may be dependent on the contents of the properties file. Dan.