Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

RE: SQL scripts in ANT

Rebhan, Gilbert

2008-03-13

Replies: Find Java Web Hosting

Author LoginPost Reply


From: Sumit.Srivastava@(protected)]
Sent: Wednesday, March 12, 2008 8:31 PM
To: user@(protected)
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 "@(protected)..

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@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.