ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: "Elements of Ant Style": ant files separation
Date Tue, 19 Nov 2002 06:40:52 GMT

----- Original Message -----
From: "Rick Hightower" <rick@eblox.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, November 18, 2002 18:22
Subject: RE: "Elements of Ant Style": ant files separation


> By
> "-use XML includes to pull in common declarations across all build files."
>
> do you mean using an external entity?
>
> <!DOCTYPE myproject [
> <!ENTITY importedAntFile SYSTEM '../../common/build.xml>
> ]>
>
> <project ...>
> &importedAntFile; <!-- imported elements imported here -->
> <target ...>
> </target>
> </project>
>
> If so... that is so cool. The first time I saw this was with the Sun Web
> Services SDK.
>

rick, its mentioned in ant in anger, you've read that, surely :)

Its about as cool as #include when you think about it -works for a while but
has its intrinsic limitations.

-steve


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


Mime
View raw message