Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 21668 invoked from network); 20 May 2003 15:27:57 -0000 Received: from nat1.manh.com (HELO ns2ext.manh.com) (12.29.89.6) by daedalus.apache.org with SMTP; 20 May 2003 15:27:57 -0000 Received: from relay1.manh.com by ns2ext.manh.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; 20 May 2003 15:29:23 UT Received: from ([10.254.252.1]) by relay1.manh.com with SMTP ; Tue, 20 May 2003 11:30:48 -0400 (EDT) Received: from mailhost.manh.com by ns2ext-srv.manh.com via smtpd (for relay1.manh.com [10.254.254.34]) with SMTP; 20 May 2003 15:28:50 UT Received: from 10.100.101.80 by ma-atl84.manh.com (InterScan E-Mail VirusWall NT); Tue, 20 May 2003 11:26:36 -0400 Received: by MA-ATL80 with Internet Mail Service (5.5.2653.19) id ; Tue, 20 May 2003 11:28:01 -0400 Message-ID: <548DBE8D8628D611B2370004762FCCCA041EB186@MA-ATL80> From: Manoj Sadangi To: 'Ant Users List' Subject: how to use java.io.File inside script Date: Tue, 20 May 2003 11:27:58 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am trying to read from a file and checking for a particular string inside a line . if the string exist then writing the line to the output file.