Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73914 invoked from network); 20 Jun 2007 14:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 14:19:43 -0000 Received: (qmail 5935 invoked by uid 500); 20 Jun 2007 14:19:40 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 5894 invoked by uid 500); 20 Jun 2007 14:19:40 -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 5861 invoked by uid 99); 20 Jun 2007 14:19:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 07:19:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 07:19:35 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I111e-0000NE-T7 for user@ant.apache.org; Wed, 20 Jun 2007 07:19:14 -0700 Message-ID: <11214404.post@talk.nabble.com> Date: Wed, 20 Jun 2007 07:19:14 -0700 (PDT) From: arijit To: user@ant.apache.org Subject: Using for loop MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ghosh.arijit@wipro.com X-Virus-Checked: Checked by ClamAV on apache.org I am trying to dynamically generate build2.xml by executing build1.xml. I have a build2_template.xml file and a property file. build2.xml is generated by reading the build2_template.xml and providing inputs to it through the property file. a series of similar code needs to be written in build2.xml file which is a repititive work. So I was thinking of using some for - loop to write codes like in build2_template.xml where N could be from 1 to some value which is defined in the property file. the property file is loaded in build1.xml Any suggestion ? -- View this message in context: http://www.nabble.com/Using-for-loop-tf3952686.html#a11214404 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org