On Tue, 28 Oct 2008, Jean-Louis BOUDART <[EMAIL PROTECTED]> wrote: > 2008/10/27 Stefan Bodewig <[EMAIL PROTECTED]> > >> > - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]