Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 51367 invoked from network); 29 Nov 2001 01:40:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Nov 2001 01:40:40 -0000 Received: (qmail 11493 invoked by uid 97); 29 Nov 2001 01:40:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 11465 invoked by uid 97); 29 Nov 2001 01:40:31 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 11447 invoked from network); 29 Nov 2001 01:40:29 -0000 Message-ID: From: "Li, Jerry" To: 'Ant Users List' Subject: RE: Scope of a property Date: Wed, 28 Nov 2001 17:39:45 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I want to discuss a little bit more on this. >From what I understand, a property within a target will not be available to another target unless there is a dependence. For example, the above echo will not display any. However, the following will work But anyway, in order to make a property global, you have to put it outside targets. Am I right? thanks, Jerry -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: Wednesday, November 28, 2001 4:20 AM To: ant-user@jakarta.apache.org Subject: Re: Scope of a property On Wed, 28 Nov 2001, Holger Danske wrote: > > this is going to result in in BuildException in Ant 1.5 as one of value,ref or location is required when using the name attribute. I'm not sure whether this simply has been a no-op in Ant 1.4, but I think so. So you probably don't set the property at all. > > > > Here you are really doing the equivalent of ant clear ant deploy.expand issued on the command line - of course check will be consulted once for each run (and once as dependency of redeploy.expand). The target called in the ed execeutions should be skipped if the property has been set, though. Why don't you use ? Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: -------------------------------------------------------------------------- Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. -------------------------------------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: