Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CF096B51 for ; Mon, 13 Jun 2011 21:00:14 +0000 (UTC) Received: (qmail 38245 invoked by uid 500); 13 Jun 2011 21:00:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 38182 invoked by uid 500); 13 Jun 2011 21:00:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 38175 invoked by uid 99); 13 Jun 2011 21:00:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 21:00:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 21:00:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A210141892C for ; Mon, 13 Jun 2011 20:59:51 +0000 (UTC) Date: Mon, 13 Jun 2011 20:59:51 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <1982841993.3775.1307998791660.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1846699650.13250.1307768518888.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2586) example work & logs directories needed? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048755#comment-13048755 ] Uwe Schindler commented on SOLR-2586: ------------------------------------- bq. Bottom line I think, is if someone wants to ensure that Solr works well on Tomcat for example, then they should make a patch so that our tests test with this container too (e.g. in hudson, etc). Once its baked in hudson for a while, then I would say its easy for us to recommend it, too. That is the hardest task. Jetty is so cool, because it can be used and configured "embedded". To start up Tomcat, you have to provide final configuration files in the default folder layout and start a main() static method from a class. Something so easy like jettyServer.addServletFilter() & similar things are not possible with Tomcat out of the box. This makes Jetty (in my opinion) the best servlet container around. I sometimes also use it that way (embedded in my Java app). > example work & logs directories needed? > --------------------------------------- > > Key: SOLR-2586 > URL: https://issues.apache.org/jira/browse/SOLR-2586 > Project: Solr > Issue Type: Improvement > Components: Build > Reporter: David Smiley > Priority: Minor > > Firstly, what prompted this issue was me wanting to use a git solr mirror but finding that git's lack of empty-directory support made the "example" ant task fail. This task requires examples/work to be in place so that it can delete its contents. Fixing this was a simple matter of adding: > {code:xml} > > {code} > Right before the delete task. > But then it occurred to me, why even have a "work" directory since Jetty will apparently use a temp directory instead. -- try for yourself (stdout snippet): > bq. 2011-06-11 00:51:26.177:INFO::Extract file:/SmileyDev/Search/lucene-solr/solr/example/webapps/solr.war to /var/folders/zo/zoQJvqc9E0076p0THiri+k+++TI/-Tmp-/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp > On my Mac, this same directory was used for multiple runs, so somehow Jetty or the VM figures out how to reuse it. > Since this "example" setup isn't a *real* installation -- it's just for demonstration, arguably it should not contain what it doesn't need. Likewise, perhaps the empty example/logs directory should be deleted. It's not used by default any way. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org