Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 40207 invoked from network); 21 May 2007 14:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 14:58:49 -0000 Received: (qmail 94048 invoked by uid 500); 21 May 2007 14:58:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94004 invoked by uid 500); 21 May 2007 14:58:49 -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 93990 invoked by uid 99); 21 May 2007 14:58:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 07:58:49 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cknell@onebox.com designates 69.25.242.15 as permitted sender) Received: from [69.25.242.15] (HELO securemail.onebox.com) (69.25.242.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 07:58:41 -0700 Received: from outgoing.onebox.com (unverified [172.21.6.72]) by securemail.onebox.com (Rockliffe SMTPRA 7.0.6) with SMTP id for ; Mon, 21 May 2007 10:58:20 -0400 Message-ID: From: cknell@onebox.com To: user@ant.apache.org Subject: How to?: run a custom Java program against a Date: Mon, 21 May 2007 10:58:18 -0400 Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org I have prepared a Java program to use regexes to swap a list of strings for others in a text file. I'd like to create an Ant that would run the program against a set of files located in a specific directory. At first glance, it seems that I should be able to use the type and the task to do this, but I can't find anything in the help files that addresses this. During many years of learning new programming languages and environments, I have learned that when I can't find any documentation on how to do something that I think ought to be simple, it usually means that I have some deep misunderstanding about the topic. Can someone point me in the right direction? Must I develop a custom Ant task to do this, or am I just overlooking something obvious. Thanks. -- Charles Knell cknell@onebox.com - email --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org