From dev-return-75928-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Mon Oct 16 14:59:34 2006 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86209 invoked from network); 16 Oct 2006 14:59:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 14:59:34 -0000 Received: (qmail 31256 invoked by uid 500); 16 Oct 2006 14:59:22 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 31222 invoked by uid 500); 16 Oct 2006 14:59:22 -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 31174 invoked by uid 99); 16 Oct 2006 14:59:22 -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 07:59:22 -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 ddevienne@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 07:59:19 -0700 Received: by nf-out-0910.google.com with SMTP id i2so2596213nfe for ; Mon, 16 Oct 2006 07:58:58 -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=m0Rg/doSh6uJLdVIqKc3W1ulhz/V4O5gE9KL9EhW9chrqW/PZXjslml6kaj7dTOF5p7H5aB5CM/OPj1OxQi4V+bdKtphydXaVv73v81FZMLl5NY/3wHDs7txsY5sJsjhiGNIloG/HRgbLHaF3Ksvm+8nxpD4iycV8UuuPyfZttE= Received: by 10.49.21.8 with SMTP id y8mr12328146nfi; Mon, 16 Oct 2006 07:58:58 -0700 (PDT) Received: by 10.49.64.10 with HTTP; Mon, 16 Oct 2006 07:58:58 -0700 (PDT) Message-ID: <255d8d690610160758g4147be97gccc2c3776d8e5c84@mail.gmail.com> Date: Mon, 16 Oct 2006 09:58:58 -0500 From: "Dominique Devienne" To: "Ant Developers List" Subject: Re: references: backwards compatibility In-Reply-To: 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> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > 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. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org