ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: SQL scripts in ANT
Date Thu, 13 Mar 2008 11:17:09 GMT
 
 
From: Sumit.Srivastava@ubs.com [mailto:Sumit.Srivastava@ubs.com] 
Sent: Wednesday, March 12, 2008 8:31 PM
To: user@ant.apache.org
Subject: SQL scripts in ANT

/*
Hi Experts.. 
*/

i'm neither a sql nor an oracle expert ;-)
...

/*
I tried putting all the *.sql scripts inside one and call that like 

<src="${PLSQL_ROOT}\MasterScript.sql" /> 

MasterScript.sql contains following : 
@DropTables 
@createTables 

But , ANT is not able to recognise "@" exits.. 

Is there a way to accomplish this ??
*/

... but i try =

1.
did you try START instead of @ ?

means, use

START DropTables
START createTables

As far as i remember in sql plus START command is similar to @

2.
maybe @ works when escaped, means try to write @@


Regards, Gilbert

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


Mime
View raw message