Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 72912 invoked from network); 18 Oct 2009 07:56:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Oct 2009 07:56:13 -0000 Received: (qmail 99620 invoked by uid 500); 18 Oct 2009 07:56:12 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 99562 invoked by uid 500); 18 Oct 2009 07:56:12 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 99552 invoked by uid 99); 18 Oct 2009 07:56:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 07:56:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anithian@gmail.com designates 209.85.221.189 as permitted sender) Received: from [209.85.221.189] (HELO mail-qy0-f189.google.com) (209.85.221.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 07:56:04 +0000 Received: by qyk27 with SMTP id 27so2347941qyk.20 for ; Sun, 18 Oct 2009 00:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=HZB3BS12MS36EVks2JzS/BOTaR2S4Uv101MYDhCVcl4=; b=F1jbsPJ6IT65odE7gsBVmk3ubQHS+Hd8Is0JQwDjrnONjHqP7LO3mNmp/yj3LEq3CY cvTk01/6zVaxd18xokq9mZ4/dDH1gxS/jpogPzQYFsvkw5EW4JO96ghy5TKqhY8akfEx NH96QfYV6be7T8wF/PoiARmTqaUP2q3s67TkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=xqgypMpfIMbY0Um5TU19yqHzPCqkxXvdkQQ7AnGA+xVyQJYmgnnmM6G+2MftNGYoa+ iJYVwtwXE9tbRYAOHkY3BfsimbnznRopdnLZDXWISAKiihM0rnrtcUwcDDv1eP5XpB1s uG+PriE+POEmJSBXDwZNT4RSMXcqIFISYwZxg= MIME-Version: 1.0 Received: by 10.224.116.196 with SMTP id n4mr1955325qaq.320.1255852543213; Sun, 18 Oct 2009 00:55:43 -0700 (PDT) In-Reply-To: <1255599101.20799.19.camel@pleione.contact.de> References: <915962.98337.qm@web180402.mail.gq1.yahoo.com> <1255599101.20799.19.camel@pleione.contact.de> From: Amit Nithian Date: Sun, 18 Oct 2009 00:55:23 -0700 Message-ID: <9426f1770910180055g2b21b13avcb5d26b5855d06fe@mail.gmail.com> Subject: Re: deploy solr in Eclipse IDE To: solr-dev@lucene.apache.org Content-Type: multipart/alternative; boundary=00c09f97253fba84e6047630f487 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f97253fba84e6047630f487 Content-Type: text/plain; charset=ISO-8859-1 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 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. > > > 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(); > } > } > > } > > > > > 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. > > > > > > --00c09f97253fba84e6047630f487--