Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 65020 invoked from network); 7 Mar 2008 15:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 15:51:06 -0000 Received: (qmail 39953 invoked by uid 500); 7 Mar 2008 15:50:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 39917 invoked by uid 500); 7 Mar 2008 15:50:46 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 39894 invoked by uid 99); 7 Mar 2008 15:50:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 07:50:46 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [208.97.132.119] (HELO spunkymail-a12.g.dreamhost.com) (208.97.132.119) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 15:49:56 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a12.g.dreamhost.com (Postfix) with ESMTP id DC0937FB3 for ; Fri, 7 Mar 2008 07:50:10 -0800 (PST) Message-Id: <6FD60468-1121-46B8-B711-59D2D20ECE42@apache.org> From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: applying patch in Eclipse to get SpanHighlighter functionality Date: Fri, 7 Mar 2008 10:50:10 -0500 References: X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org From the command line, assuming you have the patch command: patch -p 0 -i Is how I apply patches that were generated using svn diff. -Grant On Mar 5, 2008, at 1:30 PM, Donna L Gresh wrote: > Thanks Mark- > I'm very much a newbie in all this patching stuff, but I don't think > I'm > using anything other than built-in Eclipse functionality using team- > >apply > patch. And it's clearly not working well. > > I took a look at TortoiseSVN but I think it's way overkill for me-- oh > well; maybe I'll just wait until it makes it into a release :) > > Donna Gresh > > > > Mark Miller wrote on 03/05/2008 12:07:21 PM: > >> Are you using subclipse to apply the patch? Its not very good at >> it. I >> use TortoiseSVN for patching, as its much smarter about these things. >> With TortoiseSVN, you just patch from the root dir and it knows you >> are >> referring to the contrib folder thats under the root directory (the >> directory you apply the patch to). I think subclipse also makes >> patches >> with absolute URLs, which is not good either, though you can still >> use >> them with the ignore stuff it has. >> >> Donna L Gresh wrote: >>> I have downloaded the Lucene (core, 2.3.1) code and created a >>> project >>> using Eclipse (pointing to src/java) to use it. That works fine, >>> along > >>> with the contrib highlighter jar file from the standard >>> distribution. >>> >>> I have also successfully added an additional Eclipse project for the >>> (standard) Highlighter, pointing to ..contrib/highlighter/src/ >>> java . I > can >>> use this project instead of the standard highlighter jar file and >>> that > >>> works fine too. >>> >>> I am having trouble figuring out how to apply the patch (assuming > that's >>> possible) to get the SpanHighlighter functionality. When I try to > apply >>> the patch using team->apply patch and pointing to the patch xml >>> file, > I am >>> getting errors that seem to imply that the patch is looking for >>> things > >>> under contrib/highlighter.... which it can't find. >>> >>> I admit to knowing very little about patches; I am just interested >>> in >>> getting the SpanHighlighter functionality. >>> >>> Can anyone point me in the right direction? Thank you. >>> >>> Donna Gresh >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> -------------------------- Grant Ingersoll http://www.lucenebootcamp.com Next Training: April 7, 2008 at ApacheCon Europe in Amsterdam Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org