Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 48768 invoked from network); 16 Sep 2002 23:09:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 23:09:59 -0000 Received: (qmail 19039 invoked by uid 97); 16 Sep 2002 23:10:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19023 invoked by uid 97); 16 Sep 2002 23:10:35 -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 19007 invoked by uid 98); 16 Sep 2002 23:10:34 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Print message if property unset (or if file doesn't exist)? Date: Mon, 16 Sep 2002 18:09:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The easy way using ant-contrib (see Related Projects) is: The hard-Ant way without : BUT, with Ant 1.5, you could easily instead of just ing: --DD -----Original Message----- From: Karr, David [mailto:david.karr@attws.com] Sent: Monday, September 16, 2002 5:54 PM To: 'ant-user@jakarta.apache.org' Subject: Print message if property unset (or if file doesn't exist)? I just want to print a message if a "build.properties" file does not exist in a directory. I would think this would be an easy thing to do, but I don't see a way to do it. I figured out how to set a property if a file is present, but I don't see how to do anything with that. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: