ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
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:
> https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
> 
> 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                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message