> 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 ?

Check ant-contrib, I think there's a trycatch task.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to