Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by JasperKamperman: http://wiki.apache.org/nutch/WritingPluginExample-0%2e9 The comment on the change is: Original package name and data location for unit test failed with nutch-0.9 ------------------------------------------------------------------------------ Create a new tree structure, this time for the test code, for example recommended/src/test/org/apache/nutch/parse/recommended/[Test_Source_Here]. There you'll create a file called TestRecommendedParser.java. {{{ - package org.apache.nutch; + package org.apache.nutch.parse.recommended; import org.apache.nutch.metadata.Metadata; import org.apache.nutch.parse.Parse; @@ -352, +352 @@ public class TestRecommendedParser extends TestCase { private static final File testDir = - new File(System.getProperty("test.input")); + new File(System.getProperty("test.data")); public void testPages() throws Exception { pageTest(new File(testDir, "recommended.html"), "http://foo.com/",