Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 4350 invoked by uid 500); 10 Sep 2001 09:41:51 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4338 invoked from network); 10 Sep 2001 09:41:51 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Peter Donald Reply-To: donaldp@apache.org To: ant-user@jakarta.apache.org Subject: Re: properties Date: Mon, 10 Sep 2001 19:34:29 +1000 X-Mailer: KMail [version 1.3.1] References: <169952BF6CCBF34CBC6CEB0B3570D17F33FDBB@ussdex01.corp.wingcast.com> <001801c139d8$1eaf03f0$3feea218@john2> In-Reply-To: <001801c139d8$1eaf03f0$3feea218@john2> X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010910094154.DWLS4715.mss.rdc2.nsw.optushome.com.au@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 10 Sep 2001 19:08, JohnA wrote: > I've searched the doc for information about properties in the doc but I > can't seem to find a clear answer to: > > 1) what are the built-in properties, if any? > in other words, if I don't define any are there still > some values I can get to using ${}? > > I know that > > > doesn't work because I tried it... Check out the ant manual for that. > 2) what are the scoping rules for properties? > It seems that if a property is defined > > > > ... > > > then it is visible to all targets. But if it is defined in a target, it is > visible in that target and then to all subsequent targets. But I'm only > guessing. yep. > what are the rules around overrides? you can't overide in the same project. You can "fake" it using antcall or ant and specifying property parameters to it however in same project properties are immutable. > e.g. if a property is defined in the and also defined > in a target, what value is used in subsequent targets? The first one that gets defined. -- Cheers, Pete --------------------------------------------------------- Clarke's Third Law: "Any technology distinguishable from magic is insufficiently advanced". ---------------------------------------------------------