Unfortunately it is not working in this way. You need to download source code, 
apply the patch, build nutch from patched sources. A bit info on patching:
 
http://en.wikipedia.org/wiki/Patch_%28Unix%29
http://www.hmug.org/man/1/patch.php

You can use Eclipse for applying patch - it is convenient way of doing it.
 
Marcin


> > Question:  How do I apply a patch to nutch?  Or I might ask:  how do 
> > install a patch into nutch?  If I understand correctly, nutch has a patch 
> > system such that one can take a stable release and install one or more 
> > specific patches into it in order to get updated functionality, right?  
> > Phrased one more time, so the search engines might place this a bit higher 
> > on their ranking: if I want to patch nutch, where do I download the patch 
> > file to, and what extra steps do I need to do?  Do I unjar nutch.jar and 
> > modify it with the .patch file?  What is the procedure for patching nutch?
> > 
> > Here's a specific example:
> > I would like to apply NUTCH-505 to my newly installed nutch-0.9:
> > https://issues.apache.org/jira/browse/NUTCH-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507803
> > 
> > As of this writing I find two .patch files there:
> > 
> >                     
> >                 
> >                 
> >                     
> >                     
> >                     1.
> >                                             
> > 
> >     
> > 
> > 
> >                                     NUTCH-505_draft.patch (22 kb)
> > 
> >                     
> >                             
> >                     
> >                     
> >                     2.
> >                                             
> > 
> >     
> > 
> > 
> >                                     NUTCH-505_draft_v2.patch (21 kb)
> > 
> > My nutch installation looks like this:
> > 
> > [EMAIL PROTECTED] /usr/local/nutch-0.9]$ 
> > total 35728
> > drwxr-xr-x   7 root  wheel       512 Apr  2 20:44 webapps
> > drwxr-xr-x  49 root  wheel      1536 Apr  2 20:44 plugins
> > -rw-r--r--   1 root  wheel  16623050 Apr  2 20:44 nutch-0.9.war
> > -rw-r--r--   1 root  wheel  19306077 Apr  2 20:44 nutch-0.9.job
> > -rw-r--r--   1 root  wheel    477935 Apr  2 20:44 nutch-0.9.jar
> > drwxr-xr-x   5 root  wheel      1024 Apr  2 20:44 lib
> > drwxr-xr-x  22 root  wheel       512 Apr  2 20:44 docs
> > drwxr-xr-x   2 root  wheel      1024 Apr  2 20:44 conf
> > drwxr-xr-x   2 root  wheel       512 Apr  2 20:44 bin
> > -rw-r--r--   1 root  wheel       403 Apr  2 20:44 README.txt
> > -rw-r--r--   1 root  wheel       101 Apr  2 20:44 NOTICE.txt
> > -rw-r--r--   1 root  wheel     11358 Apr  2 20:44 LICENSE.txt
> > -rw-r--r--   1 root  wheel     30932 Apr  2 20:44 CHANGES.txt
> > drwxr-xr-x  10 root  wheel       512 Apr  2 20:44 src
> > -rw-r--r--   1 root  wheel      3259 Apr  2 20:44 default.properties
> > -rw-r--r--   1 root  wheel     23181 Apr  2 20:44 build.xml
> > drwxr-xr-x  33 root  wheel      1024 Jun 21 09:48 ..
> > drwxr-xr-x   2 root  wheel       512 Jun 21 11:44 logs
> > drwxr-xr-x  10 root  wheel       512 Jun 21 11:44 .
> > 
> > There are no .patch files anywhere in that directory tree so I don't have 
> > any good guesses.
> > 
> > Please advise.
> > 
> > 
> > 
> >       
> > ____________________________________________________________________________________
> > Shape Yahoo! in your own image.  Join our Network Research Panel today!   
> > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 
> > 
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to