Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 15018 invoked from network); 11 Jul 2002 01:29:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Jul 2002 01:29:20 -0000 Received: (qmail 18629 invoked by uid 97); 11 Jul 2002 01:29:39 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 18585 invoked by uid 97); 11 Jul 2002 01:29:37 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 18562 invoked by uid 98); 11 Jul 2002 01:29:37 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Sent: 11 Jul 2002 01:29:21 GMT Message-ID: <016f01c2287a$6150c680$6401a8c0@darden.virginia.edu> From: "Erik Hatcher" To: "Lucene Users List" References: <20020710150919.35261.qmail@web12701.mail.yahoo.com> <012001c22875$d9073c90$6401a8c0@darden.virginia.edu> Subject: Re: Ant task Date: Wed, 10 Jul 2002 21:29:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, its been relocated to contributions/ant in the the sandbox, and the task fixed to work with pre-Ant 1.5 (sorry, I'm always running a self-built latest greatest version of Ant :) ----- Original Message ----- From: "Erik Hatcher" To: "Lucene Users List" Sent: Wednesday, July 10, 2002 8:56 PM Subject: Re: Ant task > Oops... yes. Although to be backwards compatible I'll change it to be > jarfile. > > I'll relocate it to contributions/ant too, per Otis' request. > > ----- Original Message ----- > From: "Otis Gospodnetic" > To: "Lucene Users List" > Sent: Wednesday, July 10, 2002 11:09 AM > Subject: Re: Ant task > > > > Erik, > > > > Does this require the latest and greatest Ant 1.5*? I've got 1.4.1. > > > > BUILD FAILED > > > > > /home/otis/cvs-repositories/jakarta/jakarta-lucene-sandbox/projects/ant/buil > d.xml:72: > > The task doesn't support the "destfile" attribute. > > > > Thanks, > > Otis > > > > > > --- Erik Hatcher wrote: > > > I've finally found some time to get the task I've built for Ant > > > committed to > > > the jakarta-lucene-sandbox area. Its under projects/ant. > > > > > > Its definitely in need of some refactoring and critique by more > > > knowledgeable Lucene API folks in order to make it a truly great > > > thing. My > > > use case: create an index of documentation (mostly consisting of HTML > > > files - Ant's own documentation, in fact) at build time and bundle > > > the index > > > with a distribution (a WAR in my case). It worked beautifully for my > > > use > > > case, and very rapidly scans a directory and only indexes new > > > documents when > > > indexing incrementally. > > > > > > Syntax: > > > > > > > > overwrite="true" mergeFactor="20" > > > > > > documentHandler="org.apache.lucene.ant.FileExtensionDocumentHandler"> > > > > > > > > > > > > overwrite, mergeFactor, and documentHandler are optional. The > > > default > > > (shown) document handler simply delegates to an appropriate class > > > depending > > > on the extension (only .txt and .html supported currently). > > > > > > I'll eventually get around to adding documentation for this and > > > assisting in > > > folks making it more generically useful for other extensions or > > > creating > > > some other type of document handler. This could even evolve or spawn > > > another Ant task for crawling sites at build time to index - at least > > > having > > > a crawler launched from an Ant build file would be a good way to > > > launch > > > rather than running java with some arguments. > > > > > > Feedback, criticism, suggestions - all welcome! > > > > > > Erik > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > > > For additional commands, e-mail: > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Sign up for SBC Yahoo! Dial - First Month Free > > http://sbc.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: