Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 99342 invoked from network); 16 Oct 2006 15:49:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 15:49:50 -0000 Received: (qmail 52433 invoked by uid 500); 16 Oct 2006 15:49:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 52383 invoked by uid 500); 16 Oct 2006 15:49:49 -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 52372 invoked by uid 99); 16 Oct 2006 15:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 08:49:49 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of peter.kitt.reilly@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 08:49:47 -0700 Received: by nf-out-0910.google.com with SMTP id x29so2262561nfb for ; Mon, 16 Oct 2006 08:49:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rsHyUqMI5BAsovdFvZxOAiUf2LXpHxoscdryJ/r5P44JQW3lW/1pZMI7CPPzahv5FsNThUzOR2q8SE9hO7LfYUuNRWqaEWpK0mVtT4TtDkgfxJ1YZ3B2aPSyzbuNV5yvzbf/9oCtUcNPA88yWPrkc/ZQOGjv/Fd99W+qNFL/JlE= Received: by 10.48.242.19 with SMTP id p19mr6435918nfh; Mon, 16 Oct 2006 08:49:26 -0700 (PDT) Received: by 10.49.90.10 with HTTP; Mon, 16 Oct 2006 08:49:26 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 16:49:26 +0100 From: "Peter Reilly" To: "Ant Developers List" Subject: Re: references: backwards compatibility In-Reply-To: <255d8d690610160758g4147be97gccc2c3776d8e5c84@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <453380D6.70301@apache.org> <255d8d690610160721p3de2519bg92284963eb0d7c76@mail.gmail.com> <255d8d690610160758g4147be97gccc2c3776d8e5c84@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/16/06, Dominique Devienne 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