Sorry, I meant to reply to this previously, but am snowed under at the moment.
I do not think that this task is a form of antcall. It does not create a new project which is the defining characteristic of antcall. I think it should go into ant-contrib. I will put it there soon.... Peter On Wednesday 30 July 2003 11:31, Nicola Ken Barozzi wrote: > In some cases I find that using antcall is slow and using dependencies > is impractical. Thus I have come up with this task, that simply executes > a target without any dependency checking: > > /** > * Ant tasks that runs a target without creating a new project. > * > * @author Nicola Ken Barozzi [EMAIL PROTECTED] > */ > public class RunTargetTask extends Task { > > private String target = null; > > public void setTarget( String target ) { > this.target = target; > } > > public void execute() throws BuildException{ > if (target == null){ > throw new BuildException("target property required"); > } > > getProject().executeTarget(target); > } > } > > > I have asked ant-contrib, but I was suggested to ask here is this > behaviour could be inserted in antcall and if it was something that > could go in Ant. > > Example usage: > > <antcall target="xyz" checkDependencies="false"/> > > What do you guys think? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]