Oh BTW, if your looking at any of the P4 tasks for ideas as to how to do pattern matching, you should be aware that the classes in org.apache.tools.ant.util.regexp was added after I wrote the P4 stuff. If you're going to do regex things in your tasks, you should try to use one of the interfaces in the org.apache.tools.ant.util.regexp package (and I should clean up my code as well :-)
Bye, Les, > -----Original Message----- > From: Matthew Inger [mailto:[EMAIL PROTECTED]] > Sent: 18 October 2001 20:31 > To: Ant User > Subject: RE: search for words in a file > > > yeah. if you go to the distribution directory, it will probably be > named something like : "jakarta-ant-1.4-optional.jar" > > On Thu, 2001-10-18 at 15:12, [EMAIL PROTECTED] wrote: > > > > Is this jar file on the site:http://jakarta.apache.org/ant ? > > > > > > > > > Matthew Inger > > > <matti@sedonac To: Ant User > <[EMAIL PROTECTED]> > > orp.com> cc: > > > Subject: RE: > search for words in a file > > 10/18/2001 > > > 03:10 PM > > > Please respond > > > to ant-user > > > > > > > > > > > > > > > > > optional.jar > > > > > > > > On Thu, 2001-10-18 at 14:53, [EMAIL PROTECTED] wrote: > > > > > > Hi, > > > > > > Where can I find 'optional perforce stuff' ? > > > > > > > > > > > > > > Les Hughes > > > > > <leslie.hughes@ To: > > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > > rubus.com> cc: > > > > > Subject: > RE: search for > > words in a file > > > 10/18/2001 > > > > > 09:16 AM > > > > > Please respond > > > > > to ant-user > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > You dont need to go as far as Lucene for simple > searching. Ant already > > uses > > > Perl5 regex's from the Jakarta ORO package in some of its tasks to > > pattern > > > match (look at the optional perforce stuff for examples) > - just pass a > > > regex > > > and a fileset into your task and let it do the scanning. > > > > > > Les > > > > > > > -----Original Message----- > > > > From: Mark Ayad [mailto:[EMAIL PROTECTED]] > > > > Sent: 17 October 2001 23:10 > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: search for words in a file > > > > > > > > > > > > (Ant users this is a cross sell for another Jakarta > project...sorry) > > > > > > > > Jakarta Lucene is a high-performance, full-featured text > > > > search engine > > > > written entirely in Java. It is a technology suitable > for nearly any > > > > application that requires full-text search, especially > > > > cross-platform. > > > > > > > > http://jakarta.apache.org/lucene/index.html > > > > > > > > ...So with Ant + Lucene you can create an search index > on lets say a > > > > FileSet of documents. > > > > > > > > You sound interesed ? > > > > > > > > -----Original Message----- > > > > From: T Master [mailto:[EMAIL PROTECTED]] > > > > Sent: Wednesday, October 17, 2001 11:41 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: search for words in a file > > > > > > > > > > > > What is Lucene? (Other than the dairy manufacturer) > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Mark Ayad" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Wednesday, October 17, 2001 3:15 PM > > > > Subject: RE: search for words in a file > > > > > I looking at buiding a simple search engine task using ant > > > > > > > > > > to pass files for Lucene to process. > > > > > > > > > > Regards > > > > > > > > > > Mark > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Matt Inger ([EMAIL PROTECTED]) > > Sedona Corporation > > 455 S. Gulph Road, Suite 300 > > King of Prussia, PA 19406 > > (484) 679-2213 > > "Self-respect - the secure feeling that no one, > > as yet, is suspicious." -H.L. Mencken > > > > > > > > > > > -- > Matt Inger ([EMAIL PROTECTED]) > Sedona Corporation > 455 S. Gulph Road, Suite 300 > King of Prussia, PA 19406 > (484) 679-2213 > "Self-respect - the secure feeling that no one, > as yet, is suspicious." -H.L. Mencken >
