Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 54832 invoked from network); 17 Sep 2002 06:34:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Sep 2002 06:34:24 -0000 Received: (qmail 3927 invoked by uid 97); 17 Sep 2002 06:35:02 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 3873 invoked by uid 97); 17 Sep 2002 06:35:01 -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 3841 invoked by uid 98); 17 Sep 2002 06:35:01 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <33105F8B185CD51182E300306E06473E010B7AD5@hermes.isr.thomson-csf.com> From: tran.huynh@fr.thalesgroup.com To: ant-user@jakarta.apache.org Subject: RE: Print message if property unset (or if file doesn't exist)? Date: Tue, 17 Sep 2002 08:34:18 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N you can use a condition like this one : and have a target run if the property is set. the target will echo the message you want. regards, tran > -----Message d'origine----- > De: Karr, David [mailto:david.karr@attws.com] > Date: mardi 17 septembre 2002 00:54 > =C0: 'ant-user@jakarta.apache.org' > Objet: Print message if property unset (or if file doesn't exist)? >=20 >=20 > I just want to print a message if a "build.properties" file=20 > does not exist > in a directory. I would think this would be an easy thing to=20 > do, but I > don't see a way to do it. I figured out how to set a=20 > property if a file is > present, but I don't see how to do anything with that. >=20 > -- > To unsubscribe, e-mail: =20 > > For additional commands, e-mail:=20 > >=20 -- To unsubscribe, e-mail: For additional commands, e-mail: