ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Configure->Template->Build
Date Thu, 31 May 2001 10:52:43 GMT
At 12:02 PM 5/31/01 +0200, Stefan Bodewig wrote:
>Peter Donald <donaldp@apache.org> wrote:
>
>> At 02:49 PM 5/30/01 +0100, Jose Alberto Fernandez wrote:
>>
>>><projectref> is just like instantiating a library of targets. 
>> 
>> Thats the first time I heard it described as such. From my
>> impression it was separate self-contained build files (and that is
>> how the proposals currently implement it).
>
>I think it can be both.  At least this is what I took from Conor's
>description for Mutant - either a complete self-contained project or a
>well-formed XML-fragment.
>
>> yep - in many cases. For instance in many projects you will have a
>> compile target. In this you will do things like depends, javacc,
>> javac, rmic, copy properties files from java tree etc.
>
>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. What happens when you need to modify how javac
works or worse the order of tasks. That would mean you are relegated to
modifying 17 build files - completely defeats the point of having
templating don't you think ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message