Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 16042 invoked from network); 22 Feb 2005 18:09:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Feb 2005 18:09:07 -0000 Received: (qmail 46586 invoked by uid 500); 22 Feb 2005 18:09:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46172 invoked by uid 500); 22 Feb 2005 18:09:01 -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 46157 invoked by uid 99); 22 Feb 2005 18:09:01 -0000 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web30203.mail.mud.yahoo.com (HELO web30203.mail.mud.yahoo.com) (68.142.200.86) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 22 Feb 2005 10:09:00 -0800 Received: (qmail 23249 invoked by uid 60001); 22 Feb 2005 18:08:58 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=I4UKGY8haGQ6KOMfblH77TsPOZRByBpskDwhKYtfB4NT3QPu9Kyllx6dV41/sC2TzhZVOU/AjB7kJwgtwBUnl6HCUds78fejutWV6nP+DBw3NclMwe5e/tna9L0XLk/6AsZg8RonnJ0aOTvfnwiqqW/tg3bpLlvIiE+3II3NnjM= ; Message-ID: <20050222180858.23247.qmail@web30203.mail.mud.yahoo.com> Received: from [198.190.171.222] by web30203.mail.mud.yahoo.com via HTTP; Tue, 22 Feb 2005 10:08:58 PST Date: Tue, 22 Feb 2005 10:08:58 -0800 (PST) From: Ninju Bohra Subject: Re: Conditional Question for Build Script To: Ant Users List In-Reply-To: <353BDEC8BBDF634A9E10B7F651B0E2D5035846@exchange6.int.mgc.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-481940616-1109095738=:18880" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-481940616-1109095738=:18880 Content-Type: text/plain; charset=us-ascii You can use the task (part of the ant-contrib project). // Things to do if destination==stage // Things to do if destination==stage Or you can use the task :-) Daniel Kalcevich wrote: All, I have a situation where I need to perform a check as to whether or not a file needs to be included in build based upon a property. The property would represent the environment, either "stage" or "prod". Based upon the value of that property, I would need to rename a file and move it to a different directory. Can anyone let me know the best way to do this? Thanks. Daniel This email and/or any files or attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. If you have received this email in error, please delete the e-mail and/or any files or attachments, and also notify the system manager (PostMaster@mercuryinsurance.com) of the error. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email and/or any files or attachments transmitted with it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-481940616-1109095738=:18880--