> -----Original Message-----
> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] 

> Ant is not a scripting language... assuming that "run script 
> four" is a target in your build file, you could call it from 
> within another target using the <antcall> task. You should 
> also look into the AntContrib third party tasks, since they 
> have an "if" task.
> 
> Maybe if you gave us some more info on what you're trying to achieve?

Basically I have a series of sql scripts that I want to run...

Script1 and Script2 need to always run.

Script2 and Script3 are optional but there are some table dependencies -
so for example if I don't run Script3, I can't run Script 4 without
throwing an error.

I added an AntCall within Script3 to call Script4 and it seems to
work!!!

Thanks again for the pointers!

Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to