ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar <armaill...@free.fr>
Subject Conditional antcall
Date Mon, 20 Feb 2006 16:41:35 GMT

Hi,

I'd like to access to a database, and, if it fails, create the database  
otherwise update it.
To access the database, I intend to use a sql task. If the sql request  
fails, I want to call the create-database target. If it successes, I want  
to call the update-database target.
Any idea on how to do this conditional call ?

Regards
-- 
A. ROY

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message