ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Project 'B' to depend on Project 'A' ant build?
Date Fri, 09 Nov 2007 16:49:44 GMT
On 11/9/07, Rob Wilson <netplay@gmail.com> wrote:
> I have two separate projects and currently Project B uses files from
> project A using relative paths, but if I update project A and forget
> to build it, project B could fail.  The question is, can Ant have a
> dependency on another ant script?   (I.e. not 'import'ing, but some
> form of project dependency?)

Nope. Typically you should setup the two projects separately, which
have project B *declare* it's dependency on project A in some
descriptor, and have a tool fetch a given version (or the latest
version) of A's build products. You do this with Ant + Ivy, or with
Maven. --DD

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


Mime
View raw message