Perhaps I was unclear.

What I meant was to call 'ant' and I didn't know the directory it was in,
but I knew what it was called.

For instance, if I had build.xml in /x, and there was another created
dynamically somewhere down in the directory tree, how would 'ant' find it?

I'm trying to use the Style command to find a set of pre-build xml files,
transform them into build files, and then call 'ant' on them.  The problem
is that these pre-build files may or may not exist, so I want to
dynamically call 'ant' on the ones it finds.

-Jeff

Kevin Cummings wrote:

> <ant antfile="util.xml" target="prepare" />
>
> or
>
> <ant antfile="util.xml"/>
>
> At 04:52 PM 4/30/2001 -0400, you wrote:
> >What's the best way to invoke a task from another task?
> >
> >For instance, I'm trying to write a task to search for build files
> >further down in the build tree and invoke the ANT task on it once it's
> >found.
> >
> >-Jeff
begin:vcard 
n:Kenward;Jeff
tel;pager:(313) 280-0854
tel;cell:(313) 715-3170
tel;work:(313) 235-3586
x-mozilla-html:TRUE
url:http://www.kenward.org
org:Electric Choice Implementation Team;ISO
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal Analyst
adr;quoted-printable:;;2000 2nd Ave.=0D=0A246 SB;Detroit;MI;48226;USA
fn:Jeff Kenward
end:vcard

Reply via email to