IBM Cloud Docs
Assembling and compiling a custom crawler plug-in

Assembling and compiling a custom crawler plug-in

After you write the source code for your crawler plug-in, you must assemble and compile it.

IBM Cloud Pak for Data IBM Software Hub

This information applies only to installed deployments.

Prerequisites

You must have the following items to compile a crawler plug-in:

Assembling and compiling the crawler plug-in

  1. Specify the class name of the crawler plug-in by opening the plugin/config/template.xml file and modifying the initial-value of the crawler_plugin_class element.
  2. Ensure that you are in the crawler plug-in SDK directory on your development server.
  3. Enter gradle packageCrawlerPlugin to use Gradle to compile your Java source code and to create a compressed file that includes all of the required components for the crawler plug-in.
  4. Confirm that you have access to the crawler plug-in package, which is in the build/distributions/wd-crawler-plugin-sample.zip file.