Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Paolo Castagna
Robert Muir wrote: Do you use Eclipse for development? I do, i generally don't run tests from it though. Ack. I do not understand who is supposed to create the index directory... I do not see it in the build.xml :-/ Believe it or not, there are some oddities about these benchm

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Paolo Castagna
Robert Muir wrote: Do you use Eclipse for development? I do, i generally don't run tests from it though. Ack. I do not understand who is supposed to create the index directory... I do not see it in the build.xml :-/ Believe it or not, there are some oddities about these benchm

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Robert Muir
On Fri, Apr 16, 2010 at 8:31 AM, Paolo Castagna < castagna.li...@googlemail.com> wrote: > > Do you use Eclipse for development? I do, i generally don't run tests from it though. > > I do not understand who is supposed to create the index directory... > I do not see it in the build.xml :-/ > >

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Robert Muir
There are some more problems. i found 2 other base classes like this, additionally the use of lucene.common.dir alltogether is not the best, and some tests that are using it are... not the best. I opened an issue: https://issues.apache.org/jira/browse/LUCENE-2398 On Fri, Apr 16, 2010 at 8:24 AM,

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Paolo Castagna
Robert Muir wrote: I actually run all the tests from ant... Having Ant as the "authoritative" source of information for the build, tests, packaging is good. But, being able to quickly run some or all the JUnit tests from Eclipse and if there are failures double click to point at the code it's

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Paolo Castagna
Robert Muir wrote: The Collation failure is because its "CollationTestBase" should really be abstract... I'll fix this one and see if theres any others here we can make easier. Good, thanks. :-) Paolo - To unsubscribe, e-mai

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Robert Muir
The Collation failure is because its "CollationTestBase" should really be abstract... I'll fix this one and see if theres any others here we can make easier. On Fri, Apr 16, 2010 at 7:41 AM, Robert Muir wrote: > Hi Paolo: > > I actually run all the tests from ant... but I see at least these two

Re: Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Robert Muir
Hi Paolo: I actually run all the tests from ant... but I see at least these two things: 1. you need to turn on assertions when you run junit (-ea), or some IndexWriter tests will not work, as assertions enables debugging code in them. 2. the ant scripts set a sysprop tempDir for the tests, but i

Lucene Eclipse project files (Was: Re: Eclipse project files...)

2010-04-16 Thread Paolo Castagna
Hi Robert, I am now trying to configure all the Lucene contrib sources and tests rather than a minimal configuration (as the first .classpath I shared previously). You can find the .classpath I am using attached to this email. I had problems with the BDB contrib, jars are not there (probably, fo