Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 56340 invoked from network); 26 Jan 2007 15:48:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jan 2007 15:48:38 -0000 Received: (qmail 95256 invoked by uid 500); 26 Jan 2007 15:48:42 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 95209 invoked by uid 500); 26 Jan 2007 15:48:42 -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 95198 invoked by uid 99); 26 Jan 2007 15:48:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 07:48:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jaikumar.sharma@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 07:48:32 -0800 Received: by an-out-0708.google.com with SMTP id b2so368654ana for ; Fri, 26 Jan 2007 07:48:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:reply-to:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:in-reply-to:importance:x-mimeole; b=gJpZqLagAdqTeRF2l9R3RYoUBSZgbluHFReJNq0F6ziJyP/PHXA6SL0OS5BEa0l0Vm/MSwn+54Uy4kJSIO+NqIThoR3/8QCnnJ866zNHwCcmgQfrUMAsz+WRKEJ+9+zfCrOyLA/3+SvvE713BpEeyIUIMfSdawydR3L22EXP8YQ= Received: by 10.78.149.13 with SMTP id w13mr971752hud.1169826486531; Fri, 26 Jan 2007 07:48:06 -0800 (PST) Received: from noicltjks ( [125.23.120.67]) by mx.google.com with ESMTP id 20sm3338782huf.2007.01.26.07.48.04; Fri, 26 Jan 2007 07:48:06 -0800 (PST) Reply-To: From: "Sharma, Jaikumar" To: "'Ant Developers List'" Subject: RE: Is it possible to get a value of getter method from a Java class to build.xml ? Date: Fri, 26 Jan 2007 21:18:04 +0530 Message-ID: <004e01c74161$60828c70$1701a8c0@noicltjks> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <255d8d690701260648h5ac2e3f5r3df38340699852fc@mail.gmail.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Dominique. I would adapt to setNewProperty. Have a great day! -----Original Message----- From: Dominique Devienne [mailto:ddevienne@gmail.com] Sent: Friday, January 26, 2007 8:19 PM To: Ant Developers List; ravi.aroy@gmail.com Subject: Re: Is it possible to get a value of getter method from a Java class to build.xml ? > project.setProperty(property, propertyValue); Prefer setNewProperty, as setProperty is deprecated, and breaks Ant's property immutability rules. It's only kept around for backward-compatibility. --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