You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jason van Zyl <jv...@apache.org> on 2001/09/26 16:02:14 UTC

Inserting multiple SQL files

Hi,

Is it currently possible using what's available in Ant to insert multiple
SQL in a flexible manner?

In the Turbine Developer's Kit our database schema may define any number of
databases and for each database an SQL file is generated and they are
prefixed by the project name. I would like to glob together the database
files and insert them all.

Possibly the <script> task or a <foreach> task of some sort?

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



Re: Inserting multiple SQL files

Posted by Jason van Zyl <jv...@apache.org>.
On 9/26/01 10:02 AM, "Jason van Zyl" <jv...@apache.org> wrote:

> Hi,
> 
> Is it currently possible using what's available in Ant to insert multiple
> SQL in a flexible manner?
> 
> In the Turbine Developer's Kit our database schema may define any number of
> databases and for each database an SQL file is generated and they are
> prefixed by the project name. I would like to glob together the database
> files and insert them all.
> 
> Possibly the <script> task or a <foreach> task of some sort?

I see that the <sql> task in 1.5 allows filesets, is there any possibility
this will get backported to 1.4 and come out with the next release?

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons