----- Original Message -----
From: "Rigorberto Macias" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
result)
spool buildnum.properties
select 'buildnum1.currval'||buildnum1.currval from dual;
spool off
exit
and add <property file="buildnum.properties"/> to your buildfile.
Nico