ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject Condition task to print message
Date Fri, 08 Aug 2003 15:10:17 GMT
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


Mime
View raw message