ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Dependancies on libraries
Date Tue, 05 Nov 2002 07:56:08 GMT
On Sun, 03 Nov 2002, Bruce McGuire <> wrote:

> I have a project which depends on some libraries that I am
> building. Is it possible to have one build.xml file depend on
> another?

I'm not entirely sure I understand what you mean.  Take a look at the
<ant> task.

So if you have build file a.xml with a target A that depends on target
B in build file b.xml you'd do something like


  <target name="A" depends="run-B-in-b.xml">

  <target name="run-B-in-b.xml">
    <ant target="B" antfile="b.xml"/>

or put the <ant> task directly into target A.


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

View raw message