You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com> on 2009/05/19 13:19:43 UTC

Re: [jira] Created: (SOLR-1173) Let contrib projects modify web.xml when running dist-war

we should refrain from adding new issues for 1.4 (unless it is a bug)
if it is not very very important.


On Tue, May 19, 2009 at 3:05 PM, Jacob Singh (JIRA) <ji...@apache.org> wrote:
> 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
>
>
> 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.
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Re: [jira] Created: (SOLR-1173) Let contrib projects modify web.xml when running dist-war

Posted by Jacob Singh <ja...@gmail.com>.
Okay sure... This is a 10 min addition, the patch it only 15 lines or
something, but we can keep patching our copy if need be.

Best,
J

2009/5/19 Noble Paul നോബിള്‍  नोब्ळ् <no...@corp.aol.com>:
> we should refrain from adding new issues for 1.4 (unless it is a bug)
> if it is not very very important.
>
>
> On Tue, May 19, 2009 at 3:05 PM, Jacob Singh (JIRA) <ji...@apache.org> wrote:
>> 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
>>
>>
>> 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.
>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>



-- 

+1 510 277-0891 (o)
+91 9999 33 7458 (m)

web: http://pajamadesign.com

Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsingh@gmail.com