Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 73342 invoked from network); 19 May 2009 10:10:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 10:10:08 -0000 Received: (qmail 70168 invoked by uid 500); 19 May 2009 10:10:07 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 70126 invoked by uid 500); 19 May 2009 10:10:07 -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 70116 invoked by uid 99); 19 May 2009 10:10:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 10:10:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 10:10:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C31A7234C004 for ; Tue, 19 May 2009 03:09:45 -0700 (PDT) Message-ID: <643939725.1242727785794.JavaMail.jira@brutus> Date: Tue, 19 May 2009 03:09:45 -0700 (PDT) From: "Jacob Singh (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1173) Let contrib projects modify web.xml when running dist-war In-Reply-To: <471608250.1242725745609.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Singh updated SOLR-1173: ------------------------------ Attachment: xmltask_contrib_build.diff Oops, forgot the common-build.xml diff > Let contrib projects modify web.xml when running dist-war > --------------------------------------------------------- > > Key: SOLR-1173 > URL: https://issues.apache.org/jira/browse/SOLR-1173 > Project: Solr > Issue Type: New Feature > Affects Versions: 1.4, 1.5 > Reporter: Jacob Singh > Fix For: 1.4 > > Attachments: xmltask_contrib_build.diff, xmltask_contrib_build.diff > > > Original problem: > I just wrote a Servlet Filter to handle authentication for our > service. Here's what I did: > 1. Created a dir in contrib > 2. Put my project in there, I took the dataimporthandler build.xml as > an example and modified it to suit my needs. Worked great! > 3. ant dist now builds my jar and includes it > I now need to modify web.xml to add my filter-mapping, init params, > etc. How can I do this cleanly? Or do I need to manually open up the > archive and edit it and then re-war it? > In common-build I don't see a target for dist-war, so don't see how it > is possible... > See: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200905.mbox/%3C4ED43C6D-320D-4E0D-835D-4366B0F08D0E@ehatchersolutions.com%3E -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.