Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7057 invoked by uid 500); 8 Aug 2003 15:10:15 -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 7044 invoked from network); 8 Aug 2003 15:10:15 -0000 Received: from bay8-f18.bay8.hotmail.com (HELO hotmail.com) (64.4.27.18) by daedalus.apache.org with SMTP; 8 Aug 2003 15:10:15 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 8 Aug 2003 08:10:17 -0700 Received: from 80.7.191.226 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 08 Aug 2003 15:10:17 GMT X-Originating-IP: [80.7.191.226] X-Originating-Email: [matthewoatham@hotmail.com] From: "Matthew Oatham" To: user@ant.apache.org Bcc: Subject: Condition task to print message Date: Fri, 08 Aug 2003 16:10:17 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Aug 2003 15:10:17.0950 (UTC) FILETIME=[2D7847E0:01C35DBF] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, During a build I need to check for the existence of a file and want to alert the user if this file doesnt exist. I guess I can use the available task to see if the file exists but then if it doesnt how do I print a message. It's like this: if ( ! file exists ) { print warning } Thanks Matt _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org