ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce McGuire <b...@shaw.ca>
Subject Re: Dependancies on libraries
Date Wed, 06 Nov 2002 03:39:26 GMT
Hello Stefan.

Thanks for the input. That is exactly what I wanted. I should have 
rtfm'ed better.

Thanks again.

Bruce.

Stefan Bodewig wrote:

>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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message