Re: Installing a patch in a solr nightly on Windows
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.
Re: Installing a patch in a solr nightly on Windows
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
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
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
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
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
I use windows. Did you try tortoisesvn ? it is quick and simple On Tue, Jun 30, 2009 at 8:53 PM, ahammadahmed.ham...@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
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.