Re: Re: Antw: Re: How to Debug Solr With Eclipse

2017-08-15 Thread Karthik Ramachandran
I start Solr in my Eclipse for small test. I have made some changes to ant build script to copy the webapp to required location and also added eclipse launchers in this commit ( https://github.com/mrkarthik/lucene-solr/commit/d793a9b8ac0b1b4969aace4329ea5a6ddc22de16 ) Run "ant eclipse" from shell

Re: Re: Antw: Re: How to Debug Solr With Eclipse

2017-08-15 Thread Erick Erickson
Personally I don't start Solr inside my IDE. I use IntelliJ, but I'm sure Eclipse has the same capability. Have you seen: https://wiki.apache.org/solr/HowToConfigureEclipse? I create a "remote" configuration and fill in the blanks. Then starting the project like this: bin/solr start -c -z localho

Antw: Re: Antw: Re: How to Debug Solr With Eclipse

2017-08-15 Thread Rainer Gnan
Hello Giovanni, I could not resolve the issue on my workingplace computer. On my laptop following exactly your steps it works perfectly without warnings or else. But how to start solr correctly within eclipse (oxygen)? I am navigating to the subdirectory "solr/webapp/web/" an with right-click o

Re: Antw: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Giovanni De Stefano
Hello Rainer, Have you found the issue? If not, just to be on the safe side: 1) once you extracted the .tgz you get the folder `solr-6.0.0`, cd in it and then just 2) execute `ant eclipse` and then 3) in Eclipse do Import -> Existing Projects in the workspace -> select the `solr-6.0.0` folder

Re: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Erick Erickson
Rainer: Have you seen: https://wiki.apache.org/solr/HowToContribute? There's a section about using Eclipse and a couple of other IDEs. I use IntelliJ so can't help there. A number of devs use Eclipse so it should work. Please feel free to add to the docs if you find a gotcha. You can also pull do

Antw: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Rainer Gnan
Hi Giovanni, thank you for this hint! The whole process (tar -xvf ..., ant compile, ant eclipse) untill importing the eclipse-project seems to be fine . After importing it as an existing eclipse project the project explorer shows an error sign on the project folder. Refreshing does not help. -

Re: How to Debug Solr With Eclipse

2017-07-13 Thread Lars Karlsson
Another option that I normally find easier is attaching to existing Solr instance and do remote debugging. It require changing the JVM options and restarting Solr, then from eclipse choose Remote Java Application. On Thu, 13 Jul 2017 at 19:50, Rainer Gnan wrote: > Hello community, > > my aim is

Re: How to Debug Solr With Eclipse

2017-07-13 Thread Giovanni De Stefano
Hello Rainer, you have the right link: select the version you want and download the -src version. Once un untar the .tgz you can run `ant eclipse` from the command line and then import the generated project in eclipse. Please note that you will need both and and ivy installed (just start with

Re: How to Debug Solr With Eclipse

2017-07-13 Thread govind nitk
Hi, Solr has releases, kindly checkout to the needed one. cheers On Thu, Jul 13, 2017 at 11:20 PM, Rainer Gnan wrote: > Hello community, > > my aim is to develop solr custom code (e.g. UpdateRequestProcessor) > within Eclipse AND to test the code within a debuggable solr/lucene > local instan

How to Debug Solr With Eclipse

2017-07-13 Thread Rainer Gnan
Hello community, my aim is to develop solr custom code (e.g. UpdateRequestProcessor) within Eclipse AND to test the code within a debuggable solr/lucene local instance - also within Eclipse. Searching the web led me to multiple instructions but for me no one works. The only relevant question I ac