Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 28207 invoked from network); 13 Sep 2005 16:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 16:52:02 -0000 Received: (qmail 73227 invoked by uid 500); 13 Sep 2005 16:51:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 73176 invoked by uid 500); 13 Sep 2005 16:51:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 73163 invoked by uid 99); 13 Sep 2005 16:51:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 09:51:57 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of andrewgoktepe@gmail.com designates 64.233.184.194 as permitted sender) Received: from [64.233.184.194] (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 09:52:08 -0700 Received: by wproxy.gmail.com with SMTP id i1so3080619wra for ; Tue, 13 Sep 2005 09:51:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=lkVRQTyP+B9xpiIHMlN/XSz4qABTborFvIrg4O3j1kL3r5GKYs2NCAeuakN+Cji+uP3SX2BIcHIjBl48XM9ahq9CZMOaTV9txemugyEKS1lNvHtB7z3885DHxTqBgGB80p9uZDJh4S9pBhI43Az5+8Uv762msNQaDa1mj9uhXoo= Received: by 10.54.132.14 with SMTP id f14mr625253wrd; Tue, 13 Sep 2005 09:51:54 -0700 (PDT) Received: by 10.54.118.5 with HTTP; Tue, 13 Sep 2005 09:51:54 -0700 (PDT) Message-ID: <98c2b60d050913095126103894@mail.gmail.com> Date: Tue, 13 Sep 2005 11:51:54 -0500 From: Andrew Goktepe Reply-To: andrewgoktepe@gmail.com To: Ant Users List Subject: Re: , using trouble In-Reply-To: <4326F72F.6000005@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1029_31381731.1126630314615" References: <4326F72F.6000005@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1029_31381731.1126630314615 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline That looks like the correct behavior to me. This is analogous to properties= ,=20 which are set once and cannot be changed again.=20 On 9/13/05, Aliaksandr Voitau wrote:=20 >=20 > Hi, > here is a piece of my buildfile. >=20 > > > >=20 > > classname=3D"my.pkg.Sample"> > > > >=20 > While trying to invoke this target from java code i get the following > error: >=20 > taskdef class my.pkg.Sample cannot be found, >=20 > although i set ${lib} from java code using setProperty(...) right before > executing target "target-name". > However, if i'll just paste content to : >=20 > > classname=3D"my.pkg.Sample"> > > > > > >=20 > or just put ${lib} to property file everything works fine, or even just > nest into . >=20 > So, seems to resolve nested elements' properties only on the time > of the first parsing by ProjectHelper's parse(...), but not on executing > particular target, using that path, when previously undefined properties > became available. Is it correct behaviour? > Couldn't find any explanation in available documentation. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 > ------=_Part_1029_31381731.1126630314615--