ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: EasyAnt project
Date Wed, 29 Oct 2008 05:20:47 GMT
On Tue, 28 Oct 2008, Jean-Louis BOUDART <jeanlouis.boudart@gmail.com> wrote:

> 2008/10/27 Stefan Bodewig <bodewig@apache.org>
> 
>> > - introduce "phase" concept : A kind of target that contains
>> > *ONLY*dependencies,
>>
>> I'm not good at names.  I understand why this is a good name in the
>> context of EasyAnt but struggle with the same name when applied to
>> "pure" Ant.
>>
>> I recall being confused by the phase mapping when Xavier first
>> suggested it.
> 
> We can use write java classes without using abstract classes /
> interface and all that stuff? :p Phase is like an "abstract task" it
> doesn't introduce order in your build script but introduce a kind of
> "comportement"

I did understand your phase concept, don't worry.  The phase mapping
is something different (where you add a task that says "the phase I
call compile is called build in that imported file"), I think that one
is over flexible, but unrelated to the phase itself.

BTW, targets (and your phase variant of it) are not tasks.

I like Dominique's target group more than the name "phase".  And I
understand that EasyAnt builds on the Maven concept to make things
easier for users switching.  Without EasyAnt, the name would be a bad
choice inside Ant.

>> > - introduce two different kind of import (what we call use /
>> > extends)
>>
>> I think you will quickly find support for this separation here, in
>> particular if we throw in user definded prefixes where the writer
>> of the build file that uses another build file gets to define the
>> prefix of targets - hi, DD ;-)
> 
> I really not understand what you mean here :'(

forget the last part, which Dominique himself tried to explain and
I'll clarify again.

What I wanted to say is that there have been Ant committers, namely
Dominique, who argued for some features of your extends/use
distinction long ago, so I expect that adding them to Ant will be an
easy sell.

Cheers

        Stefan

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


Mime
View raw message