ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josiah Slack <jsl...@iperia.com>
Subject RE: Help: is there a way to include another build file?
Date Wed, 10 Oct 2001 20:56:02 GMT
That's pretty slick. I'm working on a project where we're using build.xml
files at various levels in the source hierarchy, and I'm concerned that the
the entity declarations could get pretty cumbersome (e.g. <!ENTITY common
SYSTEM "file:../../../../../common.xml"> ).

What am I missing?

Thanks!

-josiah

-----Original Message-----
From: Jeff Turner [mailto:jeff@socialchange.net.au]
Sent: Tuesday, October 09, 2001 6:34 PM
To: ant-user@jakarta.apache.org
Subject: Re: Help: is there a way to include another build file?


Yep. As an example, have a look at the jakarta-taglibs project's build
system. There's one common xml, and each target has an overridable 'pre'
and 'post' target. Works really well.

--Jeff

On Tue, Oct 09, 2001 at 05:27:41PM +1000, Conor MacNeill wrote:
> Scott,
> 
> You can use XML based includes
> 
> http://jakarta.apache.org/ant/faq.html#xml-entity-include
> 
> Conor

Mime
View raw message