Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73893 invoked from network); 12 Mar 2007 17:29:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2007 17:29:11 -0000 Received: (qmail 86774 invoked by uid 500); 12 Mar 2007 17:29:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 86742 invoked by uid 500); 12 Mar 2007 17:29:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 86731 invoked by uid 99); 12 Mar 2007 17:29:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2007 10:29:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2007 10:29:03 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 5388D6BA05 for ; Mon, 12 Mar 2007 17:28:41 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kyzbKT4E5sgr for ; Mon, 12 Mar 2007 17:28:40 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) by colossus.hpl.hp.com (Postfix) with ESMTP id 5196C6BA03 for ; Mon, 12 Mar 2007 17:28:40 +0000 (GMT) Received: from [16.25.171.182] (chamonix.hpl.hp.com [16.25.171.182]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id l2CHSW62008737 for ; Mon, 12 Mar 2007 17:28:32 GMT Message-ID: <45F58DC0.2040903@apache.org> Date: Mon, 12 Mar 2007 17:28:32 +0000 From: Steve Loughran User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Ant Users List Subject: Re: property value setting References: <55879AC51120084A8DC1A3135BA1FA4707B052@webemail.pro-unlimited.com> In-Reply-To: <55879AC51120084A8DC1A3135BA1FA4707B052@webemail.pro-unlimited.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Chun Ji wrote: > I have a build.xml file in which there is a property value "PW90". And this value is initialized through the command line, such as: ant -f build.xml -DPW90="...". > > However, I just realize that 95% of time, the value is same. So I am just wondering if I could set a default value for this "PW90" inside the build.xml. yes. >Only when "-DPW90=.." is specified on the command line, then it will be overwritten by the input value. Anything set on the command line ovrrides any definitions in your build file... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org