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
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
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
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
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
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.
-
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
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
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
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
10 matches
Mail list logo