Youc an do this (at least with one of the nightly builds of Ant 1.2 alphaX) using the ant- or antcall-tasks
 
Nico
----- Original Message -----
From: Marc Jambert
To: Ant MailingList
Sent: Thursday, September 28, 2000 9:55 AM
Subject: Calling a target

There is one question I am wondering of about Ant.
 
How can I manage to make some calls to a target with different arguments (just like a script file would call another script file)? Is it possible to do that kind of things or is it mandatory to declare a target for each sub-goal I want to realize?
 
Thanks