Hi I am a noob @ Ant . The problem i am facing is that i have a text file "control.ini" which has a list of sql files that has to be read and executed in the db via ant. control.ini ----------- a.sql b.sql
I used the load file and store it in a variable mess, when i use the echo task i and see all the sql files in the variable mess. But when i try to use the foreach tag it bombs out . Am i following the correct route or am i way off base ??
Thankx for your helps guys
Joined: Oct 20, 2005
hi guys , well i got it to work and i thought i share it with you guys . Since I didnt find a solution out there. Its not a perfect solution , but it works
PS. u need to have apache contrib lib
subject: how to read from a file and execute the lines