Setup Solr Trunk Development Environment using Eclipse

You need to have the following software installed

  • subversion
  • ant
  • eclipse

Now the install procedure

  1. Checkout the source code
       svn co
  2. cd to the trunk folder and run
    ant ivy-bootstrap
    ant resolve
    ant validate
    ant clean-idea
    ant eclipse
    ant compile
    ant test
  3. Start Eclipse and Import the Project
  4. Install the run-jetty plugin. Add the update site ( and install run-jetty
  5. Add a Run configuration for a Jetty Webapp
    • Jetty Version 6.1.26
    • Port 8080
    • Context /trunk
    • WebApp dir solr/webapp/web
    • Arguments/VM arguments
  6. Save and run that configuration
  7. Start any webbrowser and visit: http://localhost:8080/solr/

Leave a comment

Your email address will not be published. Required fields are marked *