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