ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: <import> enhancement, it's done, but do you like how it works?
Date Thu, 11 Jul 2002 08:13:45 GMT
Nicola Ken Barozzi <> wrote on 07/11/2002 05:48:41 PM:

> wrote:
> > Is super.mytarget a 'special' keyword? Given that you're 'redefining' 
> > target (mytarget), what does antcalling it do? This is confusing IMHO 
> > an end user.
> Hmmm...
> It works like in java.
Well java methods don't have dependencies..... and this will break 
compatibility with all targets that are defined as 'super.XXXX'.

> super.  is a special prefix.
> If I redefine mycooltarget two times I can call the first version via 
> super.super.mycooltarget , and the second version super.mycooltarget .
> Any suggestions on how it can be made better?
Don't use antcall and target..... add a new tag to call the overidden 
one.....lots of other possibilities...??
dIon Gillard, Multitask Consulting

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message