ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: simple yet complicated
Date Fri, 13 Jul 2001 21:37:49 GMT
----- Original Message -----
From: "Rigorberto Macias" <>
To: <>
Sent: Friday, July 13, 2001 7:27 PM
Subject: simple yet complicated

> <property name="buildnum" value="buildnum1.currval"/>

I don't think there is currently a way to assign the current value of an
oracle-sequence to a property. (Or any sql-result to anything)

Best solution I can think of: run a sql-script just before you start ant -
something along

set whatEver off (don't know how to disable eveything beyond the pure
select 'buildnum1.currval'||buildnum1.currval from dual;
spool off

and add <property file=""/> to your buildfile.


View raw message