ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: references: backwards compatibility
Date Mon, 16 Oct 2006 15:54:13 GMT
Hi Dominique,

this sounds like a good idea.

Regards,

Antoine
-------- Original-Nachricht --------
Datum: Mon, 16 Oct 2006 09:58:58 -0500
Von: "Dominique Devienne" <ddevienne@gmail.com>
An: "Ant Developers List" <dev@ant.apache.org>
Betreff: Re: references: backwards compatibility

> > WARNING: reference y has not been set, attempting to resolve
> >
> >     [echo] y is C:\Documents and
> Settings\reilly\learning\a\refs\build.xml
> 
> I really think we should break BC here, with a good error message.
> Keeping the old behavior would re-open the bug about the
> not-defined-at-runtime ref being used. The fact that there would now
> be a warning is not enough IMHO.
> 
> For a first pass, I propose an error message along the lines of:
> 
> Error: Reference y has not been set at runtime, but was found during
> build file parsing. Ant 1.7 no longer allows referencing ids defined
> in non-executed targets.
> 
> --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

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


Mime
View raw message