ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Ivy settings ant error
Date Thu, 28 Feb 2008 11:29:48 GMT
Xavier Hanin wrote:
> Hi,
> In latest Ivy version we have changed the way to load settings, using a task
> instead of a datatype, but still using an id attribute. The code of the task
> is available here:
> A user is complaining (see forwarded e-mail) about a warning message from
> Ant:
> Warning: Reference ivy.instance has not been set at runtime, but was
> found during
> build file parsing, attempting to resolve. Future versions of Ant may
> support
> referencing ids defined in non-executed targets.
> Any idea what can be wrong? Is it related to our implementation of the
> settings task? Any help from Ant gurus would be welcome :-)

It means they define the ivy.instance type or whatever in a target that 
has not been executed; it is not in the dependency graph. Ant finds the 
definition anyway, then tells you off for being naughty

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message