Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 53411 invoked from network); 13 Sep 2004 22:21:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Sep 2004 22:21:57 -0000 Received: (qmail 47040 invoked by uid 500); 13 Sep 2004 22:21:38 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 46763 invoked by uid 500); 13 Sep 2004 22:21:35 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 45995 invoked by uid 99); 13 Sep 2004 20:58:23 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of Mohan.Gunupati@wicourts.gov designates 165.219.244.91 as permitted sender) Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 13 Sep 2004 15:58:11 -0500 From: "Mohan Gunupati" To: Subject: Help on file read Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part95B59FF3.0__=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=__Part95B59FF3.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Guys, I need some help, before getting to you I tried myself and the web, even some books. Here is what I have been trying to do and achieve. I want read a file containing strings ( a word in each line) and I want to iterate a new target for each line existing. ex: lets say file1.txt contains row1 row2 row3. I want to iterate, through the file and read each string and pass that string to a new target. I want or read a file (step-1, done) in a target( target-1) and for each row in the file (step-2, ?) (iterate for each row in the file) run target-2. I am able to read the file using , the limitation is it returns everything as one property ( which is one string containing all rows). I need more like an array or some object which is iterates. I also figured, this is something todo for ant2. Don't know if there is an alternative. Your time and help is much appreciated. thanks. Mohan Gunupati. --=__Part95B59FF3.0__=--