ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How to call a task from a directory
Date Thu, 04 Dec 2008 08:51:21 GMT
On 2008-12-04, madhu sudan <> wrote:

> How to call target, say t1 from C:\abc\build.xml file into target, say x1
> (D:\xyz\build.xml file)?

you place an <ant> task into the target that shall call the other
build file, use the antfile attribute of that task to point to the
other build file (using either an absolute path or a path relative to
the basedir of your calling project) and set the target attribute of
the ant task to the name of the target you want to call.

For details see the manual of the ant task.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message