Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 69651 invoked from network); 4 Nov 2004 13:19:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 13:19:31 -0000 Received: (qmail 9870 invoked by uid 500); 4 Nov 2004 13:19:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 9739 invoked by uid 500); 4 Nov 2004 13:19:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 9725 invoked by uid 99); 4 Nov 2004 13:19:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [212.7.146.12] (HELO mxout01.versatel.de) (212.7.146.12) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 05:19:16 -0800 Received: from mx03.versatel.de (mx03.versatel.de [212.7.146.2]) by mxout01.versatel.de (8.12.8/8.12.8) with ESMTP id iA4DJCeO010717 for ; Thu, 4 Nov 2004 14:19:12 +0100 Received: from ntserver01.lohndirekt.de ([62.214.9.100]) by mx03.versatel.de (MOS 3.5.5-GR) with ESMTP id BUO57484 for ; Thu, 4 Nov 2004 14:19:10 +0100 (CET) Received: from [192.168.0.168] (LD-FL-PC-168 [192.168.0.168]) by ntserver01.lohndirekt.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 4LWTTL8L; Thu, 4 Nov 2004 14:19:05 +0100 Message-ID: <418A2C47.2030302@lohndirekt.de> Date: Thu, 04 Nov 2004 14:19:03 +0100 From: Sven Efftinge Organization: lohndirekt.de / Aktiengesellschaft User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: nested variable expansion in property file References: <418799B1.40200@lohndirekt.de> In-Reply-To: <418799B1.40200@lohndirekt.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is there a way to let ant resolve nested properties in command line properties? when we use the -propertyfile Option with a file like this var1=test var2=${var1}/test2 the nested property in var2 will not be resolved. Is there a way to enable this? regards, Sven uli wrote: > hello, > > i'm using a global property file for various ant scripts. > to keep variable names short and concise i use variables > in the delaration of other variables. > > like: > > workspace=/home/me > classpath=${workspace}/classes > > i know that that's nothing unusual, but it doesn't work > for my global property file. ant only expands the variables to this > when using the command line %ant -properyfile global-ant.property: > > ${workspace} --> /home/me > $classpath --> ${workspace}/classes > > > does anybody have a solution for that problem ? > or is it meant to be like that ? > > > uli > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org