I think you may have better luck setting up Eclipse, Subclipse etc and hook off of trunk rather than having to re-create the eclipse project every time a nightly build comes out. I simply have an eclipse project tied to trunk and every so often i'll do an SVN update when I want/need the latest code.
hope that helps some! Amit On Thu, Oct 15, 2009 at 2:31 AM, Brian Carmalt <b...@contact.de> wrote: > Hello, > > I Start Solr with Jetty using the following code. If the classpath and > src paths are set correctly in Eclipse and you pass the solr.home to the > VM on startup, you just have to start this class and you can debug Solr > in Eclipse. > > <code> > import org.mortbay.jetty.Connector; > import org.mortbay.jetty.Server; > import org.mortbay.jetty.webapp.WebAppContext; > > public class JettyStarter { > > /** > * @param args > */ > public static void main(String[] args) { > > try { > > Server server = new Server(8888); > > WebAppContext solr = new WebAppContext(); > solr.setContextPath("/solr"); > solr.setWar("Path to solr directory or war"); > server.addHandler(solr); > server.setStopAtShutdown(true); > server.start(); > } catch (Exception e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > } > > } > > </code> > > > Am Dienstag, den 13.10.2009, 16:43 -0700 schrieb Pradeep Pujari: > > Hi All, > > > > I am trying to install solr nightly build into Eclipse IDE and facing lot > of issues while importing the zip file. The build path, libs and various > source files are scattered. It took me lot of tine to configure and make it > run. > > > > What development environment are being used and is there a smooth way of > importing daily-nightly build into eclipse? > > > > Please help. > > > > Thanks, > > Pradeep. > > > > > >