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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to