ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: references: backwards compatibility
Date Mon, 16 Oct 2006 15:49:26 GMT
On 10/16/06, Dominique Devienne <ddevienne@gmail.com> wrote:
> > 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.

This could be done,
what do other people think?

>
> --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