that did it! thanks, andrew!
On Thu, Mar 13, 2014 at 4:47 PM, Andrew Selden < [email protected]> wrote: > Hi Ben, > > Once you have cloned the source, you should be able to open it as a > project in Intellij by just pointing to the root directory. > > To run an ES server from Intellij you can create a run configuration with > these settings: > > Main class: org.elasticsearch.bootstrap.Elasticsearch > > VM options: -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true > -XX:+UseParNewGC -XX:+UseConcMarkSweepGC > -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly > -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/heapdump.hprof > -Delasticsearch -Des.foreground=yes -Djava.library.path=lib/sigar -ea > -Des.config=<ABSOLUTE_PATH_TO_YOUR_CONFIG_DIR>/elasticsearch.yml > -Des.logger.level=DEBUG > > Working directory: I have this pointed to the top-level source dir. Not > sure it matters. > > Environment: ES_TEST_LOCAL=true > > With that you should be able to hit the magical green arrow button to run > it. You can set breakpoints in the code, go to a terminal and issue curl > commands, and you'll be able to step through the code. > > - A > > On Mar 13, 2014, at 1:50 PM, Benjamin Black <[email protected]> wrote: > > would one of you wise sages offer up the magical incantations for working > with ES source in intellij? specifically, what are the configuration steps > from cloning the github repo through to debugging a running ES instance? i > have had no luck with either following the README, random mailing list > posts, or blogs or with banging my face on the keyboard like an angry > simian. your assistance is appreciated. > > > b > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/663e722e-9cff-45ba-bbd8-b4dd8efa9829%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/663e722e-9cff-45ba-bbd8-b4dd8efa9829%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/esBwSZodKOk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/76FE575C-5730-4ED7-B3AA-0245289E9A03%40elasticsearch.com<https://groups.google.com/d/msgid/elasticsearch/76FE575C-5730-4ED7-B3AA-0245289E9A03%40elasticsearch.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BVbu7wEfEC6J7KwDiPV3gUL1OW%3DrwNDOx91v%3DM86XCDgiuqQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
