ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <gil...@maksimo.de>
Subject Re: How to script database upgrade using ANT script
Date Fri, 05 Nov 2010 20:32:56 GMT
-------- Original Message  --------
Subject: Re: How to script database upgrade using ANT script
From: Java Jboss <apacheant@hotmail.co.uk>
To: user@ant.apache.org
Date: 05.11.2010 11:48

> This is rather urgent so I would appreciate any assistance. I need to create
> a recursive loop which I can't do and also some error checking module as
> well as some how linking these modules together so that they depend on each
> other etc... At the moment I have to run each target on its own.
>  
> Please feel free to change my novice attempt at writing an ANT script.
>  
> Thank you

exec,exec,exec.. doesn't feel good IMO, i would try a JVM scripting
language that works great with ant = Groovy

here are some links to get you going =
http://mauszeig.wordpress.com/2006/04/07/ant-groovy-and-the-database/
http://groovy.codehaus.org/Database+features
http://groovy.codehaus.org/api/groovy/sql/Sql.html
http://www.ibm.com/developerworks/java/library/j-pg01115.html
http://mrhaki.blogspot.com/2009/10/groovy-goodness-groovy-sql.html

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