I would like to work with the Solr source code. My idea is to "debug" some unit tests to get a better understanding of the inner workings of Solr. And perhaps I might implement some custom code in the future. But to get started, I need a working development environment where I can build and debug the Solr source code. For a non-java-guru this points out to be quite complicated:
I tried to follow the "How to contribute" and "How to configure Eclipse" sections in the wiki, but ran in many problems. Just to give some examples: I checked out the code via SVN and called "ant eclipse". This took quite some time and had to restart the task serveral times due to "freezing" downloads. Then I created a project in Eclipse, but I'm not sure if I did I right. Looks like the description is for an older version of Eclipse and I'm using the latest one. I tried to run the unit tests (having added -ea before) but got quite some strange errors. I checked the web and found some readme that told me, that I have to use Java6. As I was using Java8 (Oracle version for Linux) I removed this version and installed Java6. Running the tests again I got messages that some tests require Java7!? Then I wanted to give the Git version (which is referenced on the wiki page) a try, but it seems not to exist anymore. I'm an experienced developer, willing to read documentation, but as I'm not a java person, it's impossible to see wether I'm using a wrong version, doing something wrong or whether the documentation is just out dated. Is there some information I'm missing? Or could somebody give me a starting point? I'm very open to the tools to use. If IntelliJ is the prefered IDE, I'll install it. OpenJDK or the Oracle version? I don't care. Just tell me what combination will work and I'll give it a try. kind regards, Achim