ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Alias names for imported targets
Date Mon, 07 Jun 2004 07:21:38 GMT
On Fri, 4 Jun 2004, Jose Alberto Fernandez <jalberto@cellectivity.com>
wrote:
>> From: Stefan Bodewig [mailto:bodewig@apache.org] 
>> 
>> On Fri, 4 Jun 2004, Dominique Devienne <DDevienne@lgc.com> wrote:
>> 
>> > This allows to bypass the target override, and thus bypass
>> > whatever the overridden target does.
>> 
>> Right.  But I already can bypass it if the target is 
>> overridden since I get the aliased name then.  If this type 
>> of bypassing is wrong, we shouldn't allow it in any way.
>> 
> 
> This is one of my pifs with the current import, a battle I think I
> lost.  Or maybe I won (I cannot remember which side I was :-( )

I remember the discussion and I remember I dropped out of it since I
thought target overrides were entirely bad back then.  Yes, I've
changed my mind in the meantime.  Maybe <import> would have been
better without the current target name mangling, but for now we have
to stick with it.

> Here what we needed was having "super" (or in our case since we have
> multiple inheritance) to be able to refer to several supers.

This probably is what NAME.target was supposed to provide, the thing
we failed to achieve was limiting access.  Since we failed to limit it
properly this thread is asking for opening it in a consistent manner
instead of the twisted way we currently have.

Stefan

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


Mime
View raw message