From user-return-64976-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Jun 02 14:31:06 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75623 invoked from network); 2 Jun 2008 14:31:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 14:31:06 -0000 Received: (qmail 38194 invoked by uid 500); 2 Jun 2008 14:30:51 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 38166 invoked by uid 500); 2 Jun 2008 14:30:51 -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 38149 invoked by uid 99); 2 Jun 2008 14:30:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 07:30:51 -0700 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.201.183.194] (HELO sscd0001.dmz.huk.de) (193.201.183.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 14:30:03 +0000 Received: from sscd0028.dmz.huk.de ([10.148.152.146]) by sscd0001.dmz.huk.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Jun 2008 16:30:18 +0200 Received: by sscd0028.dmz.huk.de (Postfix, from userid 1) id 02D49580A1; Mon, 2 Jun 2008 16:30:44 +0200 (CEST) Received: from sscd0003.dmz.huk.de (sscd0003.dmz.huk.de [10.148.152.133]) by sscd0028.dmz.huk.de (Postfix) with ESMTP id E4E23580A1 for ; Mon, 2 Jun 2008 16:30:44 +0200 (CEST) Received: from SMX00003.lan.huk-coburg.de (unverified) by sscd0003.dmz.huk.de (HUK-COBURG Mailrelay2) with ESMTP id for ; Mon, 2 Jun 2008 16:30:16 +0200 Received: from smx00001.lan.huk-coburg.de (10.132.84.102) by SMX00003.lan.huk-coburg.de (10.131.196.183) with Microsoft SMTP Server (TLS) id 8.1.263.0; Mon, 2 Jun 2008 16:30:17 +0200 Received: from VEX00130.lan.huk-coburg.de (10.131.117.132) by smx00001.lan.huk-coburg.de (10.132.84.102) with Microsoft SMTP Server id 8.1.240.5; Mon, 2 Jun 2008 16:30:16 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Subject: RE: how to echo propertyset to file? Date: Mon, 2 Jun 2008 16:30:16 +0200 Message-ID: <3AE93DC078AE8A41AEDA6B95DE4EB92D029DDEEE@VEX00130.lan.huk-coburg.de> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to echo propertyset to file? Thread-Index: AcjEuufvsOZYFzpYQW23TtgSW9HdxwAASo+AAAAn6rA= References: From: "Rebhan, Gilbert" To: "Ant Users List" Content-Class: urn:content-classes:message Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org -----Original Message----- From: Daniel Gr=F6ndal [mailto:daniel.grondal@ericsson.com]=20 Sent: Monday, June 02, 2008 4:25 PM To: Ant Users List Subject: RE: how to echo propertyset to file? /* Hi! Well, not too bad. This might be a good starting point. I would however = like to replace the "," with a newline and get an output like this: foo_four=3Dfour foo_one=3Done foo_three=3Dthree foo_two=3Dtwo Any ideas on how to do this as well? //daniel */ As already posted in this thread =3D means, you get automatically a comma separated list when using ${toString:midlet.properties} and you can dump it separated with linefeed as you want it with antcontrib @{prop}${line.separator} that's all Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org