Or alternatively disable testing, if junit is not available. Like you cannot compile the QueryParser with JavaCC.
----- UWE SCHINDLER Webserver/Middleware Development PANGAEA - Publishing Network for Geoscientific and Environmental Data Tel.: +49 421 218 65595 Fax: +49 421 218 65505 http://www.pangaea.de/ E-mail: [EMAIL PROTECTED] > -----Original Message----- > From: Grant Ingersoll [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 08, 2008 3:50 AM > To: java-dev@lucene.apache.org > Subject: Re: [VOTE] Release Lucene 2.4.0 > > I really hate to do this, but the source tests don't compile, since we > now rely on JUnit to be shipped w/ Lucene. > > Steps: > download the source tarball > untar > ant test > > Lots of compile errors. I think we just need to package lib/junit > with the src. Of course, maybe not a big deal, as we didn't package > JUnit before, but we also didn't have a lib directory before, either. > Not sure if it is a show stopper. > > However, when I copy junit into a lib directory there, I get: > > [junit] Testcase: > testHugeFile(org.apache.lucene.store.TestHugeRamFile): Caused an > ERROR > [junit] Java heap space > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] at java.util.Arrays.copyOf(Arrays.java:2760) > [junit] at java.util.Arrays.copyOf(Arrays.java:2734) > [junit] at java.util.ArrayList.ensureCapacity(ArrayList.java: > 167) > [junit] at java.util.ArrayList.add(ArrayList.java:351) > [junit] at > org.apache.lucene.store.RAMFile.addBuffer(RAMFile.java:69) > [junit] at > org > .apache > .lucene.store.RAMOutputStream.switchCurrentBuffer(RAMOutputStream.java: > 129) > [junit] at > org > .apache.lucene.store.RAMOutputStream.writeBytes(RAMOutputStream.java: > 115) > [junit] at > org > .apache.lucene.store.TestHugeRamFile.testHugeFile(TestHugeRamFile.java: > 68) > [junit] > > > This passes when I run trunk on the same machine, but fails on both > the branch and the downloaded src file. I know I could just increase > the memory, but it seems odd that trunk passes. > > Otherwise, things look good. > > So -0, I guess. > > > On Oct 7, 2008, at 9:55 AM, Michael McCandless wrote: > > > > > Reminder: this is a new vote (started 2 days ago) to release 2.4.0. > > > > We still need 2 more binding (PMC) votes to release. > > > > Mike > > > > Michael McCandless wrote: > > > >> > >> OK maybe 4th time's a charm ;) > >> > >> Let's start a new VOTE to release these artifacts (derived from svn > >> rev 701827) as Lucene 2.4.0: > >> > >> http://people.apache.org/~mikemccand/staging-area/lucene2.4take4 > >> > >> Here's my +1. > >> > >> Mike > >> > >> Grant Ingersoll wrote: > >> > >>> +1. > >>> > >>> On Oct 3, 2008, at 1:22 PM, Michael McCandless wrote: > >>> > >>>> > >>>> OK let's try again! > >>>> > >>>> Let's start a new VOTE to release these artifacts (derived from > >>>> svn rev 701445) as Lucene 2.4.0: > >>>> > >>>> http://people.apache.org/~mikemccand/staging-area/lucene2.4take3 > >>>> > >>>> Here's my vote: +1. > >>>> > >>>> Mike > >>>> > >>>> mark harwood wrote: > >>>> > >>>>> Hi Mike, > >>>>> Given the repackaging any chance you can sneak in 2 contrib > >>>>> fixes I added recently? > >>>>> > >>>>> Null pointer introduced to clients dropping in 2.4 upgrade - > http://svn.apache.org/viewvc?view=rev&revision=700815 > >>>>> Bug in fuzzy matching - > http://svn.apache.org/viewvc?view=rev&revision=699512 > >>>>> > >>>>> No big deal if it's too late. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> ----- Original Message ---- > >>>>> From: Michael McCandless <[EMAIL PROTECTED]> > >>>>> To: java-dev@lucene.apache.org > >>>>> Sent: Friday, 3 October, 2008 16:48:41 > >>>>> Subject: Re: [VOTE] Release Lucene 2.4.0 > >>>>> > >>>>> > >>>>> Ugh. I'll fix & re-spin. > >>>>> > >>>>> Mike > >>>>> > >>>>> Grant Ingersoll wrote: > >>>>> > >>>>>> The docs in the downloaded tarball still refer to 2.4-dev. > >>>>>> > >>>>>> The doap.rdf file is (badly) out of date. > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Sep 30, 2008, at 8:30 AM, Michael McCandless wrote: > >>>>>> > >>>>>>> > >>>>>>> I've built the release artifacts, from revision 700430 on the > >>>>>>> 2.4 > >>>>>>> branch. These are the changes: > >>>>>>> > >>>>>>> http://people.apache.org/~mikemccand/staging- > area/lucene2.4changes/Changes.html > >>>>>>> > >>>>>>> Please vote to officially release these artifacts as 2.4.0: > >>>>>>> > >>>>>>> http://people.apache.org/~mikemccand/staging-area/lucene2.4 > >>>>>>> > >>>>>>> We need at least 3 binding (PMC) votes. > >>>>>>> > >>>>>>> Mike > >>>>>>> > >>>>>>> > >>>>>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -------------------------- > Grant Ingersoll > > Lucene Helpful Hints: > http://wiki.apache.org/lucene-java/BasicsOfPerformance > http://wiki.apache.org/lucene-java/LuceneFAQ > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]