ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: project dependency
Date Tue, 07 Oct 2003 18:45:00 GMT
> -----Original Message-----
> From: Shackelford, John-Mason [mailto:john-mason.shackelford@pearson.com]
>
> So do I understand correctly that subant does not build a dependency graph
> and then attempt to resolve these dependencies in order? It appears that
> if
> we added this feature to subant we'd be close to what we are trying to
> achieve--does it seem a good fit to you provided that the functionality is
> optional? Stefan, others do you concur?

For details about <subant> with dynamic <buildpath> resolution, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12368 

<subant> uses a <buildpath>, which can be a static <path> as usual, or which
can delegate the work of computing the <buildpath> to another implementation
(implementS BuildPathResolver). This implementation must load the dependency
graph from somewhere, and resolve it. I also posted my own version of such
an implementation as an example that loads the dependency graph from an XML
file using JXPath, and resolves the graph using a little DAG-resolver (which
is also included in my post).

So <subant> just uses a static build path (ordered list of build files to
call), it's <buildpath> that can be either dynamic or static. The former is
now in Ant, but not the latter. --DD

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


Mime
View raw message