You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ahammad <ah...@gmail.com> on 2009/06/30 17:23:45 UTC
Installing a patch in a solr nightly on Windows
Hello,
I am trying to install a patch for Solr
(https://issues.apache.org/jira/browse/SOLR-284) but I'm not sure how to do
it in Windows.
I have a copy of the nightly build, but I don't know how to proceed. I
looked at the HowToContribute wiki for patch installation instructions, but
there are no Windows specific instructions in there.
Any help would be greatly appreciated.
Thanks
--
View this message in context: http://www.nabble.com/Installing-a-patch-in-a-solr-nightly-on-Windows-tp24273921p24273921.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Installing a patch in a solr nightly on Windows
Posted by Michael Ludwig <ml...@as-guides.com>.
Koji Sekiguchi schrieb:
> I'm not a Windows user, but I think you can use Linux command (e.g.
> patch, to apply SOLR-284 patch to Solr nightly build) on cygwin
> environment.
The standalone patch utility for Win32 is another option.
http://gnuwin32.sourceforge.net/packages/patch.htm
Michael Ludwig
Re: Installing a patch in a solr nightly on Windows
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
ahammad wrote:
> Hello,
>
> I am trying to install a patch for Solr
> (https://issues.apache.org/jira/browse/SOLR-284) but I'm not sure how to do
> it in Windows.
>
> I have a copy of the nightly build, but I don't know how to proceed. I
> looked at the HowToContribute wiki for patch installation instructions, but
> there are no Windows specific instructions in there.
>
I'm not a Windows user, but I think you can use Linux command (e.g. patch,
to apply SOLR-284 patch to Solr nightly build) on cygwin environment.
Cygwin is a Linux-like environment for Windows.
http://www.cygwin.com/
Koji
Re: Installing a patch in a solr nightly on Windows
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
I use windows. Did you try tortoisesvn ?
it is quick and simple
On Tue, Jun 30, 2009 at 8:53 PM, ahammad<ah...@gmail.com> wrote:
>
> Hello,
>
> I am trying to install a patch for Solr
> (https://issues.apache.org/jira/browse/SOLR-284) but I'm not sure how to do
> it in Windows.
>
> I have a copy of the nightly build, but I don't know how to proceed. I
> looked at the HowToContribute wiki for patch installation instructions, but
> there are no Windows specific instructions in there.
>
> Any help would be greatly appreciated.
>
> Thanks
> --
> View this message in context: http://www.nabble.com/Installing-a-patch-in-a-solr-nightly-on-Windows-tp24273921p24273921.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com
Re: Installing a patch in a solr nightly on Windows
Posted by "Markus Jelsma - Buyways B.V." <ma...@buyways.nl>.
You will need the patch binary as well to apply the diff to the original
file.
On Thu, 2009-07-02 at 07:10 -0700, ahammad wrote:
> When I go to the source and I input the command, I get:
>
> bash: patch: command not found
>
> Thanks
>
>
> Koji Sekiguchi-2 wrote:
> >
> > ahammad wrote:
> >> Thanks for the suggestions:
> >>
> >> Koji: I am aware of Cygwin. The problem is I am not sure how to do the
> >> whole
> >> thing. I downloaded a nightly zip file and extracted it to a directory.
> >> Where do I put the .patch file? Where do I execute the "patch..." command
> >> from? It doesn't work when I do it at the root of the install.
> >>
> >>
> > It should work at the root of the install:
> >
> > $ patch -p0 < SOLR-284.patch
> >
> > Do you see an error message? What's error?
> >
> > Koji
> >
> >
> >
> >
>
Re: Installing a patch in a solr nightly on Windows
Posted by ahammad <ah...@gmail.com>.
When I go to the source and I input the command, I get:
bash: patch: command not found
Thanks
Koji Sekiguchi-2 wrote:
>
> ahammad wrote:
>> Thanks for the suggestions:
>>
>> Koji: I am aware of Cygwin. The problem is I am not sure how to do the
>> whole
>> thing. I downloaded a nightly zip file and extracted it to a directory.
>> Where do I put the .patch file? Where do I execute the "patch..." command
>> from? It doesn't work when I do it at the root of the install.
>>
>>
> It should work at the root of the install:
>
> $ patch -p0 < SOLR-284.patch
>
> Do you see an error message? What's error?
>
> Koji
>
>
>
>
--
View this message in context: http://www.nabble.com/Installing-a-patch-in-a-solr-nightly-on-Windows-tp24273921p24307414.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Installing a patch in a solr nightly on Windows
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
ahammad wrote:
> Thanks for the suggestions:
>
> Koji: I am aware of Cygwin. The problem is I am not sure how to do the whole
> thing. I downloaded a nightly zip file and extracted it to a directory.
> Where do I put the .patch file? Where do I execute the "patch..." command
> from? It doesn't work when I do it at the root of the install.
>
>
It should work at the root of the install:
$ patch -p0 < SOLR-284.patch
Do you see an error message? What's error?
Koji
Re: Installing a patch in a solr nightly on Windows
Posted by ahammad <ah...@gmail.com>.
Thanks for the suggestions:
Koji: I am aware of Cygwin. The problem is I am not sure how to do the whole
thing. I downloaded a nightly zip file and extracted it to a directory.
Where do I put the .patch file? Where do I execute the "patch..." command
from? It doesn't work when I do it at the root of the install.
Michael: I'll take a look at that standalone utility.
Paul: I assume that in order to do it with svn, you need to checkout the
trunk? What do you do after that? Do you have the link to the distributions?
I get "OPTIONS of 'http://svn.apache.org/repos/asf/lucene/solr/trunk': could
not connect to server (http://svn.apache.org)" when I try. Something tells
me that my proxy is blocking the connection. If that is the case, then I
don't think that I can do a checkout. Do you have any other alternatives?
Thanks again for the input.
ahammad wrote:
>
> Hello,
>
> I am trying to install a patch for Solr
> (https://issues.apache.org/jira/browse/SOLR-284) but I'm not sure how to
> do it in Windows.
>
> I have a copy of the nightly build, but I don't know how to proceed. I
> looked at the HowToContribute wiki for patch installation instructions,
> but there are no Windows specific instructions in there.
>
> Any help would be greatly appreciated.
>
> Thanks
>
--
View this message in context: http://www.nabble.com/Installing-a-patch-in-a-solr-nightly-on-Windows-tp24273921p24306501.html
Sent from the Solr - User mailing list archive at Nabble.com.