You'd use the "patch"-utility, which is generally available on every
Linux-installation I know. It's nothing Java-specific or so. Also
various development-IDEs feature patch-/merge-functionality as well.



Regards,
 Stefan

Ronny wrote:
> Hi Stefan,
> 
> which utility I need and after installing how do I install the patch?
> 
> Sorry for this questions but I am a beginner in Java and nutch...
> 
> Thanks for your help
> Ronny
> ----- Original Message ----- From: "Stefan Neufeind"
> <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, July 25, 2006 12:14 PM
> Subject: Re: Please Help - Patch install
> 
> 
>> You should use the patch-utility to integrate the patch, not be doing it
>> by hand.
>>
>> That line you mention is sort of "meta-data" and interpreted by the
>> patch-utility. It's nothing you need to add to the sourcefiles!
>>
>>
>> Good luck,
>> Stefan
>>
>> Ronny wrote:
>>> Hello,
>>>
>>> thanks for your reply. Now I tried it and it is not working.
>>>
>>> I just put the lines with + into the source code. The lines are as
>>> follows:
>>>
>>> +    public static final boolean CRAWL_IGNORE_EXTERNAL_LINKS =
>>> +        NutchConf.get().getBoolean("crawl.ignore.external.links",
>>> false);
>>>
>>> and
>>>
>>> +            if (!internal && CRAWL_IGNORE_EXTERNAL_LINKS) {
>>> +    continue;  // External links are forbidden : skip it !
>>> +   }
>>>
>>> Of course they are on the right place in the script. But I don´t know
>>> what to do with this: @@ -198,6 +200,9 @@ .
>>>
>>> Please help me
>>> Kind regards
>>> Ronny
>>>
>>>
>>>
>>>
>>> ----- Original Message ----- From: "Philippe EUGENE"
>>> <[EMAIL PROTECTED]>
>>> To: <[email protected]>
>>> Sent: Monday, July 24, 2006 10:21 AM
>>> Subject: Re: Please Help - Patch install
>>>
>>>
>>>> Ronny a écrit :
>>>>> Hello List,
>>>>>
>>>>> I have a patch for Nutch
>>>>> http://issues.apache.org/jira/browse/NUTCH-173 and I want to install
>>>>> it. But I don´t know how to do that.
>>>>> Which file I have to edit that I can install and run the patch. I am
>>>>> working currently with nutch 0.7.2
>>>>>
>>>>> Thanks for your help.
>>>>>
>>>>> Kind regards
>>>>> Ronny
>>>>>
>>>> Hi,
>>>> You must use a tools like svn to apply this patch on your source code.
>>>> It seems working.
>>>> If you are not familar with this, you can edit manualy in your IDE
>>>> this file :
>>>> tools/UpdateDatabaseTool.java
>>>> The patch.txt file indicate  witch line you must edit or replace.
>>>> After, you must add this option crawl.ignore.external.links in your
>>>> configuration file.
>>>> -- 
>>>> Philippr

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to