PluginGotchas is an attempt to create a repository for identified problems which have been overcome through discussion on the Apache Nutch mailing lists.

Problem compiling custom plugins

Discussion on this issue can be seen in context here

When building a plugin with Ant E.g.

moliere@blitz:~/java/apache-nutch-1.3/src/plugin/recommended$ ant

The following was logged to stdout

Buildfile: build.xml

BUILD FAILED
/home/moliere/java/apache-nutch-1.3/src/plugin/recommended/build.xml:5:
The following error occurred while executing this line:
/home/moliere/java/apache-nutch-1.3/src/plugin/build-plugin.xml:46:
Problem: failed to create task or type
antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
Total time: 0 seconds

The above error was solved by copying the jar file under /usr/share/lib/ant.

<<<PluginCentral

  • No labels