Shalin and Shawn, thanks for your help! Just for the records, in case somebody 
else having the same problems will read this thread:

I'm using Ubuntu 13.02, ant 1.8.2, Oracle Java 1.7.0_21-b11 and the community 
edition of IntelliJ 12. I followed the steps outlined by Shalin. Everything 
works like a charm, all tests pass and I'm now looking forward to dig into the 
code. :-)

cheers,
Achim


Am 31.05.2013 um 16:22 schrieb Shawn Heisey:

> On 5/31/2013 4:17 AM, Shalin Shekhar Mangar wrote:
>> The "trunk" requires Java7 but the 4.x releases are cut from branch_4x
>> which is on Java6. There are some bugs in Java8 which cause test failures
>> on our build machines so just avoid it for now. I use IntelliJ so I cannot
>> comment on the problems you faced with eclipse but plenty of other
>> developers use eclipse with lucene/solr so it is indeed supported. Oracle
>> Java is the way to go.
>> 
>> We may be able to help you more if you specify the errors you saw while
>> running the tests.
>> 
>> Just for reference, here's what I use:
>> IDE: IntelliJ Ultimate (the community edition also runs fine)
>> Java: Oracle Java 1.7.0_17
>> Ant: 1.8.4
>> 
>> Steps to get started:
>> 1. Checkout trunk from svn
>> 2. ant ivy-bootstrap
>> 3. ant idea
>> 4. Open project in IntelliJ Idea, goto "Project Structure" and choose the
>> installed JVM (sometimes it does not happen automatically)
> 
> Shalin has given you all the important info.  I'd just like to add one
> thought: On some systems, particularly those with Redhat DNA (RHEL,
> CentOS, Fedora, Scientific), the packaged ant is broken.  For those, you
> should download the latest ant 1.8.x from ant.apache.org, extract it
> somewhere, and either modify your path so it gets found before the
> packaged ant, or set an environment variable to point at the right location:
> 
> export ANT_HOME=/usr/local/apache-ant-1.8.4
> 
> The packaged ant on Debian seems to work fine, so Ubuntu and other
> derivatives probably also work.
> 
> I have not tried ant 1.9.x, so I don't know whether that would work.
> Lucene/Solr 3.x required ant 1.7.x, it would not work with 1.8.x.  Based
> on that historical information, I would not try ant 1.9.x until it has
> been officially blessed by the project.
> 
> Thanks,
> Shawn
> 

Reply via email to