I'm not following exactly what you want, but the recommendation you'll get from the majority of folks is to simply use Solr's example/ directory as a starting point. start.jar is Jetty and it's how most of us deploy Solr, and I'll recommend going that route. Solr in Jetty is a .war file. If you want to diverge from that path, you're in unrecommended territory.
Erik On Apr 24, 2013, at 09:41 , Furkan KAMACI wrote: > Hi; > I am new to Solr and I was using Solr as war file and deploying it into > Tomcat. However I decided to use Solr as jar file with Embedded Jetty. I > was doing like that: when I run "dist" at ant I get .war file of Solr and > used to deploy to Tomcat. > I want to use it as a jar file as like start.jar under example folder. What > should I do, what is that solr-core-4.2.1-SNAPSHOT? > When you change code and want to use Solr in a production environment what > do you do. Should I use that start.jar, how to compile it.