Have got solr working in the Eclipse and deployed on Tomcat through eclipse
plugin.
The Crude approach, was to

   1. Import the Solr war into Eclipse which will be imported as a web
   project and can be deployed on tomcat.
   2. Add multiple source folders to the Project, linked to the checked out
   solr source code. e.g. entry in .project file
   <linkedResources>
           <link>
               <name>common</name>
               <type>2</type>
               <location>D:/Solr/solr/src/common</location>
           </link>
           .........
       </linkedResources>
   3. Remove the solr jars from the web-inf lib, so that changes on the
   project sources can be deployed and debugged.

Let me know if you get a better approach.

On Wed, Aug 4, 2010 at 3:49 AM, Hando420 <hando...@gmail.com> wrote:

>
> I would like to setup apache solr in eclipse using tomcat. It is easy to
> setup with jetty but with tomcat it doesn't run solr on runtime. Anyone has
> done this before?
>
> Hando
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Setting-up-apache-solr-in-eclipse-with-Tomcat-tp1021673p1021673.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to