Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 90419 invoked from network); 28 Feb 2008 11:30:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2008 11:30:46 -0000 Received: (qmail 42642 invoked by uid 500); 28 Feb 2008 11:30:40 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 42593 invoked by uid 500); 28 Feb 2008 11:30:40 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 42582 invoked by uid 99); 28 Feb 2008 11:30:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 03:30:40 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 11:30:04 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 937E1B7B36 for ; Thu, 28 Feb 2008 11:30:12 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lzzF3KUZ9B1V for ; Thu, 28 Feb 2008 11:30:05 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id A3C25B7B31 for ; Thu, 28 Feb 2008 11:30:05 +0000 (GMT) MailScanner-NULL-Check: 1204802986.2518@Z+a4AXf97y6GhWRgCypOYA Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id m1SBTjhh013246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Feb 2008 11:29:46 GMT Message-ID: <47C69B2C.5020606@apache.org> Date: Thu, 28 Feb 2008 11:29:48 +0000 From: Steve Loughran User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Ant Developers List Subject: Re: Ivy settings ant error References: <635a05060802270143m40950831pc86d96dbb1a8a4e2@mail.gmail.com> In-Reply-To: <635a05060802270143m40950831pc86d96dbb1a8a4e2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m1SBTjhh013246 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org 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