Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 16368 invoked from network); 12 May 2009 15:28:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 May 2009 15:28:59 -0000 Received: (qmail 58132 invoked by uid 500); 12 May 2009 15:28:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 58044 invoked by uid 500); 12 May 2009 15:28: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 58034 invoked by uid 99); 12 May 2009 15:28:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 15:28:57 +0000 X-ASF-Spam-Status: No, hits=-8.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.31.106.7] (HELO mailgw1a.lmco.com) (192.31.106.7) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 15:28:45 +0000 Received: from emss07g01.ems.lmco.com (relay5.ems.lmco.com [166.29.2.16])by mailgw1a.lmco.com (LM-6) with ESMTP id n4CFSO1Z003138for ; Tue, 12 May 2009 09:28:24 -0600 (MDT) Received: from CONVERSION2-DAEMON.lmco.com by lmco.com (PMDF V6.3-x14 #31428) id <0KJJ00201EZCMR@lmco.com> for user@ant.apache.org; Tue, 12 May 2009 09:28:24 -0600 (MDT) Received: from EMSS04I00.us.lmco.com ([166.17.13.135]) by lmco.com (PMDF V6.3-x14 #31428) with ESMTP id <0KJJ00DZSEZ6CC@lmco.com> for user@ant.apache.org; Tue, 12 May 2009 09:28:19 -0600 (MDT) Received: from EMSS04M22.us.lmco.com ([166.17.13.75]) by EMSS04I00.us.lmco.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 May 2009 11:28:17 -0400 Date: Tue, 12 May 2009 11:27:18 -0400 From: "Cole, Derek E" Subject: RE: API for setting a property reference? In-reply-to: To: Ant Users List Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Thread-Topic: API for setting a property reference? Thread-Index: AcnTFUcHjyYb2VJjRSeKjiVDX+5x0QAAMc/g Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: References: X-OriginalArrivalTime: 12 May 2009 15:28:17.0920 (UTC) FILETIME=[4650A000:01C9D316] X-Virus-Checked: Checked by ClamAV on apache.org Look at the property class in the Ant API. There is a setRefId method that might do what you're talking about. -----Original Message----- From: John Francis [mailto:jfrancis@his.co.uk] Sent: Tuesday, May 12, 2009 11:21 AM To: user@ant.apache.org Subject: API for setting a property reference? Hi, Is there a way to programmatically (i.e. using the API) set the id of a property in Ant, so I can reference it via refid later on? ( Similar to "Java Development with Ant" first edition pp 80-81 but in code ) Thanks ------------------------------------------------------------------------ ---- -------------- This message is private and confidential. If you have received this message in error, please notify postmaster@his.co.uk and remove it from your system. Please carry out your own virus check before opening attachments. HISL Limited is a limited company registered in England and Wales. Registered Number: 3202995. VAT number: 729-6256-05. Registered Office: Chestnut Farm, Jill Lane, Sambourne, Redditch B96 6ES ------------------------------------------------------------------------ ---- -------------- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org