ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Dependancies on libraries
Date Tue, 05 Nov 2002 07:56:08 GMT
On Sun, 03 Nov 2002, Bruce McGuire <brlm@shaw.ca> 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

a.xml:

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

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

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

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message