A little late to this thread, but there's also a script here:
https://issues.apache.org/jira/browse/SOLR-11492 for easy setup of a local
cluster with debugging ports already open. Been waiting for some sign that
someone other than me finds it useful before actually adding it to the
project however... feedback would be lovely.

-Gus

On Mon, Jan 21, 2019 at 7:39 AM SAGAR INGALE <sagaringal...@gmail.com>
wrote:

> after running *'ant eclipse'* in the root folder of solr, I try to import
> the project in eclipse by selecting the solr home source directory, but no
> project is imported.
> do eclipse support ant out of the box? can we create a maven project from
> source and import it in eclipse?
> I tried to use *'ant run-maven-build' *but no luck. I am kind of a novice
> to ant.
>
> On Sat, Jan 19, 2019 at 4:41 AM Erick Erickson <erickerick...@gmail.com>
> wrote:
>
> > I use IntelliJ too, but I'm sure Eclipse has the same capability.
> > Don't get hung up on running Solr within your IDE. I find it very easy
> > to attach to a "remote" debugging session, takes about 10 seconds to
> > set up.
> >
> > Also, it's often easier to _not_ run solr at all, but rather find a
> > unit test that gets you into the code you care about and step through
> > that.
> >
> > Best,
> > Erick
> >
> > On Fri, Jan 18, 2019 at 1:12 PM Doug Turnbull
> > <dturnb...@opensourceconnections.com> wrote:
> > >
> > > Not sure how accurate that post is anymore. Since then I switched to
> > > IntelliJ and life got easier :)
> > >
> > > On Fri, Jan 18, 2019 at 4:03 PM David Smiley <david.w.smi...@gmail.com
> >
> > > wrote:
> > >
> > > > On Fri, Jan 18, 2019 at 9:20 AM Scott Stults <
> > > > sstu...@opensourceconnections.com> wrote:
> > > >
> > > > > This blog article might help:
> > > > >
> > > > >
> > > >
> >
> https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/
> > > > >
> > > > >
> > > > I don't use Eclipse but I believe things are better now than the
> > > > instructions given.  The setup for both Eclipse and IntelliJ have a
> > "run
> > > > configuration" (or whatever it's called in Eclipse) and thus you
> > needn't
> > > > manually at the CLI run things nor do you need to setup a new run
> > config
> > > > with the ports set.
> > > >
> > > > ~ David
> > > >
> > > >
> > > > >
> > > > >
> > > > > On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE <
> > sagaringal...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Can anybody tell me how to debug solr in eclipse, if possible how
> > can I
> > > > > > build a maven project and launch the jetty server in debug mode?
> > > > > > Thanks. Regards
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Scott Stults | Founder & Solutions Architect | OpenSource
> > Connections,
> > > > LLC
> > > > > | 434.409.2780 <(434)%20409-2780>
> > > > > http://www.opensourceconnections.com
> > > > >
> > > > --
> > > > Lucene/Solr Search Committer (PMC), Developer, Author, Speaker
> > > > LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
> > > > http://www.solrenterprisesearchserver.com
> > > >
> > > --
> > > *Doug Turnbull **| CTO* | OpenSource Connections
> > > <http://opensourceconnections.com>, LLC | 240.476.9983
> > > Author: Relevant Search <http://manning.com/turnbull>
> > > This e-mail and all contents, including attachments, is considered to
> be
> > > Company Confidential unless explicitly stated otherwise, regardless
> > > of whether attachments are marked as such.
> >
>


-- 
http://www.the111shift.com

Reply via email to