ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Configure->Template->Build
Date Fri, 01 Jun 2001 10:00:40 GMT
Peter Donald <donaldp@apache.org> wrote:

> At 12:02 PM 5/31/01 +0200, Stefan Bodewig wrote:
>>
>>So don't define the compile target in that thing you include with
>>projectref at all and provide this single target in all 17 build
>>files (as they all seem to be different anyway)?
> 
> And loose maintainability.

Why so? All targets that are the same are in the shared file while all
that are different will be maintained independently - or they are not
that different at all 8-)

> What happens when you need to modify how javac works

modify in what way? debug/deprecation and friends? User preferences.

> or worse the order of tasks.

For all build files in the same way? So refactoring them to have a
common target that contains exactly those tasks seems appropriate.

> That would mean you are relegated to modifying 17 build files -
> completely defeats the point of having templating don't you think ;)

If this was true, yes.

How would your configuration/templating aproach deal with this?

Stefan

Mime
View raw message