Okay - gotcha. For what I need now it's OK but I see where you are going...
I'll copy my current code and rework it using 'depend' and see if I can make it work... I can see how that would be very flexible! Thanks! Jim > -----Original Message----- > From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] > > do you think you'll ever want to run script 3 *without* > running script 4? 'Coz if you do, antcall is not the way to > go - just make the script 4 target depend on the script 3 > target. That way, if you want to run just script 3, you just > call "ant script3", otherwise you call "ant script4", which > will run script 3 as well... that's more the "ant way" to do > things. Same logic applies for running script 1 and script 2 > - if they always need to run then put them both in the same > target (call it dbinit or setup or whatever) and then make > script 3 dependent on that. Then you > can: > > "ant dbinit" -> runs script 1 and script 2 "ant script3" -> > runs script 1 and script 2 and script 3 "ant script4" -> runs > script 1 and script 2 and script 3 and script 4 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
