Thank you very much Eric - I'll try that tomorrow.
On Wed, Oct 5, 2016 at 7:57 PM, Erick Erickson
wrote:
> John:
>
> The simple answer is "cheat"
>
> It takes a little fiddling, but here's what I do in IntelliJ:
>
> 1> use IntelliJ to create an "artifact" that's just the jar WITHOUT
> the as
John:
The simple answer is "cheat"
It takes a little fiddling, but here's what I do in IntelliJ:
1> use IntelliJ to create an "artifact" that's just the jar WITHOUT
the associated Solr jar dependencies, just the compiled output
1a> Find the bits in <1>. It's usually under my project somewher
I've found this much in build.xml...
I'm assuming Ant puts the compiled jars into the paths listed below.
Further hints gratefully accepted if someone knows specifically how to set
this up from top to bottom. I assume the Eclipse build path puts the jars
into the referenced directories...?
OK - I'm running now in debug mode. My intent is to add and test a "hello
world" plugin to prove everything is wired up and that I can debug all the
way into the plugin I wrote...
I want to test plugins/addons which, as I understand it go here if you're
adding them to an installed version of Solr
Thanks Mikhail!
On Wed, Oct 5, 2016 at 11:29 AM, Mikhail Khludnev wrote:
> ok. it's "run-example" [ ..@solr]$ant -p
> run-example Run Solr interactively, via Jetty.
> -Dexample.debug=true to en
> able JVM debugger
> I have it in master and branch_6x
>
> On Wed, Oct 5, 2016 at 5
ok. it's "run-example" [ ..@solr]$ant -p
run-example Run Solr interactively, via Jetty.
-Dexample.debug=true to en
able JVM debugger
I have it in master and branch_6x
On Wed, Oct 5, 2016 at 5:51 PM, John Bickerstaff
wrote:
> Mikhail -- which version of Solr are you using to do
Mikhail -- which version of Solr are you using to do this [ant example
-Dexample.debug=true]
I may be wrong, but it seems that "example" no longer works with 6.x...?
On Wed, Oct 5, 2016 at 1:14 AM, Mikhail Khludnev wrote:
> launching ant example -Dexample.debug=true from Exlipse works to me.
>
Thanks Erick,
I don't care which way I start it, just that I can get Solr running in
debug mode so I can test any plugins / components that I add...
And - I'd love to find out how to do the same in Intellij as that is the
IDE used at my new gig...
I'll give this a shot - thanks again.
On Tue, O
launching ant example -Dexample.debug=true from Exlipse works to me.
It takes a while for useless compile checks, then you can debug remotely to
5005.
Jetty process need to be terminated separately. SolrAdmin works, debugging
with sources works too.
However, there is no cores my default, you need t
Warning: I use IntelliJ, but I think Eclipse works similarly.
I'm a bit confused. Are you trying to _start_ Solr from
within Eclipse? Or starting it from a command prompt?
I do the latter and then attach a remote debugging session
from within the IDE, which is what I think that link suggests too.
Thanks!
This works...
I'm getting a (possibly unrelated?) warning and can't hit the Admin page (I
get a 503). I DO see eclipse "hook into" the debug session which is
excellent.
The warning resolves to this:
java.io.FileNotFoundException:
/Users/.../.../workspace/solr-6.2.1/solr/server/solr-web
Thanks much! I'll give it a try...
On Tue, Oct 4, 2016 at 4:45 PM, Jihwan Kim wrote:
> I read your first reference and run the following command on the
> Solr_Installed Dir. I am using v. 6.2.0 and 4.10.4. both works.
>
> bin/solr start -f -a "-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,
I read your first reference and run the following command on the
Solr_Installed Dir. I am using v. 6.2.0 and 4.10.4. both works.
bin/solr start -f -a "-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666"
On Tue, Oct 4, 2016 at 5:26 PM, John Bickerstaff
wrote:
> All,
>
> I've
13 matches
Mail list logo