ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <>
Subject RE: Sql task and property
Date Thu, 30 Dec 2004 19:45:40 GMT
Anil, You may be able to accomplish what you need by using the output attribute of the <sql>
task to specify an output file for the sql statement, then use the <loadfile> task to
load the value contained in the output file into a property, then use the ant-contrib <if>
task to test the value of the property.

-Rob Anderson

> -----Original Message-----
> From: Jacob, Anil - MWT []
> Sent: Thursday, December 30, 2004 11:20 AM
> To: Ant Users List
> Subject: Sql task and property
> I have an sql task which checks the records in 3 tables. Is 
> there a way
> I can set a property if the value in any of the tables is > 0? This
> property will be used for other tasks.
> Anil

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message