Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15773 invoked from network); 12 Nov 2008 15:11:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 15:11:39 -0000 Received: (qmail 38174 invoked by uid 500); 12 Nov 2008 15:11:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37821 invoked by uid 500); 12 Nov 2008 15:11:43 -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 37808 invoked by uid 99); 12 Nov 2008 15:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 07:11:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 15:10:22 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id mACFAXpS021458 for ; Wed, 12 Nov 2008 16:10:33 +0100 Received: from z011103.bk.fin.local ([130.11.7.103]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Nov 2008 16:10:33 +0100 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011103.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Nov 2008 16:10:33 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Find a properties location Date: Wed, 12 Nov 2008 16:10:33 +0100 Message-ID: <9EE86F1965E19E499C80DE52AC807B5501B6F6E7@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Find a properties location Thread-Index: AclE03HkD7MOox2YTSCaHOz3yGcQZAABRxqA From: To: X-OriginalArrivalTime: 12 Nov 2008 15:10:33.0741 (UTC) FILETIME=[CF3F0BD0:01C944D8] X-Virus-Checked: Checked by ClamAV on apache.org Properties are a String-String-Mapping. Quasi a Hashtable properties =3D ... The name works as key. The value is set by : to the string value : to the absolute path (again as String) = of that location. Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: ext-simon.steiner@nokia.com [mailto:ext-simon.steiner@nokia.com]=20 >Gesendet: Mittwoch, 12. November 2008 15:32 >An: user@ant.apache.org >Betreff: Find a properties location > >Hi, > >How can I find out where a property is defined, which ant file? > >I would like: >project.getProperty("helium.dir").file() > >or: >project.getProperty("helium.dir").location() > >Thanks > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org