ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: <import> and <path>s
Date Wed, 06 Oct 2004 15:57:29 GMT
> I prefer to keep my build files shorter, as they are
> already definitely too long.

Mine are actually quite small now that I <import> all the
common parts from a small set of 'abstract' build files.
(and by 'abstract' I mean "meant to imported" as opposed
to necessarily having 'abstract' targets).

> So you still don't get why the imported files should be valid
> (or should I say "well formed"?) build files, do you? ;)

Oh they are valid, as valid as a Java or C++ abstract class is.

My experience is that the Template Method pattern goes
a long way in making for better designs, in any language,
be it C++, Java, or Ant (which is not a language per se).

It is indeed a matter of taste, and I suspect different
thresholds for what's elegant, and what's not ;-) --DD

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


Mime
View raw message