vkuzel / Nutch-Plugin-Development-Template

Template for Apache Nutch 1.10 plugin development for Maven and IntelliJ IDEA.
1 stars 0 forks source link

How to place the debugger on the skeleton plugin "DummyHtmlParserFilter" #2

Closed hesingon closed 5 years ago

hesingon commented 5 years ago

Hi @vkuzel , I really appreciate your effort in open-sourcing this repo. I know that it's been 4 years since you created this. But this question should be easy for you to respond

The problem: I cloned the repo and set up the debug configuration exactly as instructed. However, it is "org.apache.nutch.parse.ParseSegment" that is being debugged, what I want to debug is the DummyHtmlParserFilter. I have put a breakpoint at this line that sits inside the filter function from DummyHtmlParserFilter: System.out.println("Nutch Plugin Development Template says: Hello World!"); however it never stops at there, nor does the console print this line.

This is despite that conf/plugin.xml already specifies DummyHtmlParserFilter as an extension.

hesingon commented 5 years ago

Oh, sorry I think I forgot to run deploy_plugin_to_nutch_for_debug.sh