Re: (no) circular dependency logkit->velocity->jakarta-site

Sam Ruby <[email protected]> Sat, 04 Jan 2003 11:36:53 -0500
Newsgroups gmane.comp.jakarta.alexandria.devel
Message-ID <[email protected]>
Leo Simons wrote:
> 
> (velocity uses on logkit, which now implicitly depends on jakarta-site, 
> which depends on velocity, which seems like a circular dependency).
[snip]
> And then ideas ran out. Suggestions?

Two suggestions:

1) does logkit depend on jakarta-site being built?  If not, try 
reference="srcdir" instead of reference="home".  See project/gump.xml 
for an example.

2) logkit can be built in two passes, without the need for another 
build.xml.  Simply code two "projects" referencing the same build.xml, 
generally with a separate target.  To make things simpler, the second 
can <depend> on the first, and specify inherit="all".

- Sam Ruby