Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9160 invoked from network); 13 Feb 2008 08:57:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 08:57:09 -0000 Received: (qmail 56514 invoked by uid 500); 13 Feb 2008 08:56:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56456 invoked by uid 500); 13 Feb 2008 08:56:58 -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 56445 invoked by uid 99); 13 Feb 2008 08:56:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 00:56:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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, 13 Feb 2008 08:56:10 +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 m1D8uVkn011549 for ; Wed, 13 Feb 2008 09:56:31 +0100 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 13 Feb 2008 09:56:31 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: AW: Creating a list of entries Date: Wed, 13 Feb 2008 09:56:31 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Creating a list of entries Thread-Index: AchuGqbR5MWLq+k9QkqBO6QqFLscrgAA56+Q References: <1f97de60802122247y679d2571o464e5fff832cf544@mail.gmail.com> <1f97de60802130029v26b0eff8j53b671907322aa18@mail.gmail.com> From: To: X-OriginalArrivalTime: 13 Feb 2008 08:56:31.0066 (UTC) FILETIME=[5398DBA0:01C86E1E] X-Virus-Checked: Checked by ClamAV on apache.org replacint "=3D" by " : " ? Jan=20 > -----Urspr=FCngliche Nachricht----- > Von: Z W [mailto:mpc8250@gmail.com]=20 > Gesendet: Mittwoch, 13. Februar 2008 09:30 > An: Ant Users List > Betreff: Re: Creating a list of entries >=20 > Jan >=20 > I have a list of entries in a properties file >=20 > apple=3D1 > orange=3D2 > pear=3D3 >=20 > My Ant script is on Windows box. I'll sshexec to my unix box. >=20 > I like to create a file, say x2.txt, from my Ant script so=20 > that this file > x2.txt in my unix box like this >=20 > apple : 1 > orange : 2 > pear : 3 > This x2.txt will be an input to my perl script to read this=20 > list as input > eg > perl c1.pl -f x2.txt > This command will be executed using Ant's sshexec task. >=20 > I don't know how to create a file x2.txt from my Ant properties file. > Is there any easy way ? >=20 >=20 >=20 > On Feb 12, 2008 11:48 PM, wrote: >=20 > > My first thought was: > > My second thought is: what do want to achieve? Can you post=20 > an example? > > > > > > Jan > > > > > -----Urspr=FCngliche Nachricht----- > > > Von: Z W [mailto:mpc8250@gmail.com] > > > Gesendet: Mittwoch, 13. Februar 2008 07:48 > > > An: Ant Users List > > > Betreff: Creating a list of entries > > > > > > Hi > > > > > > I have a list of properties in a properties file. > > > I like to write these property values into a file to be used > > > as an input to > > > a shell script using sshexec task. > > > I like to know if there's way to achieve this using Ant. > > > Any suggestions ? > > > > > > Thanks > > > > > > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org