Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15762 invoked from network); 9 Dec 2003 18:40:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Dec 2003 18:40:33 -0000 Received: (qmail 50992 invoked by uid 500); 9 Dec 2003 18:40:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50967 invoked by uid 500); 9 Dec 2003 18:40:14 -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 50954 invoked from network); 9 Dec 2003 18:40:14 -0000 Received: from unknown (HELO mx-relay1.treas.gov) (199.196.144.5) by daedalus.apache.org with SMTP; 9 Dec 2003 18:40:14 -0000 Received: from tias5.treas.gov (tias-gw5.treas.gov [199.196.144.15]) by mx-relay1.treas.gov (8.12.10/8.12.10) with SMTP id hB9IeHar006908 for ; Tue, 9 Dec 2003 13:40:17 -0500 (EST) Received: from no.name.available by tias5.treas.gov via smtpd (for mx-relay1.treas.gov [199.196.144.5]) with SMTP; 9 Dec 2003 18:40:17 UT Received: from irsbd2.net.treas.gov (localhost [127.0.0.1]) by mailhub-6.net.treas.gov (8.12.10/8.12.10) with ESMTP id hB9IeBrx023461 for ; Tue, 9 Dec 2003 13:40:11 -0500 (EST) Received: from no.name.available by irsbd2.net.treas.gov via smtpd (for [10.7.14.16]) with ESMTP; Tue, 9 Dec 2003 18:40:09 +0000 Received: by mem0200bh01.msc.irs.gov with Internet Mail Service (5.5.2656.59) id ; Tue, 9 Dec 2003 12:40:10 -0600 Message-ID: From: Avery Marvin R To: "'Ant Users List'" Subject: How to a act based on property value, _not_ if set [was: ANT copy on condition] Date: Tue, 9 Dec 2003 12:40:05 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3BE83.DD2A4DDA" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3BE83.DD2A4DDA Content-Type: text/plain; charset="iso-8859-1" I've need to take an action based on the value of a property (knowing that it's set does me no good). Jan's response to an earlier question looks like a viable option, but is there an easier way? For example if I have - I'd like to do, inside my ant script, as follows - if(label_type == "new"){ ..... } else{ ..... } Thanks in advance..... MRA -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Tuesday, December 09, 2003 5:03 AM To: user@ant.apache.org Subject: RE: ANT copy on condition And you can do it inside a