ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schaefer, Don" <don_schae...@xelus.com>
Subject RE: Inserting multiple SQL files
Date Fri, 28 Sep 2001 19:28:00 GMT
We use a for-each task based on a file set of ddl extensions.  We have
filesest for create / drop.

-----Original Message-----
From: Jason van Zyl [mailto:jvanzyl@apache.org]
Sent: Wednesday, September 26, 2001 12:09 PM
To: ant-user@jakarta.apache.org
Subject: Re: Inserting multiple SQL files


On 9/26/01 10:02 AM, "Jason van Zyl" <jvanzyl@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


Mime
View raw message