Setting Up Your Environment
Follow this procedure to set up your environment for building a source operator.
- Procedure
- If you are using IntelliJ, then open the
PluginTemplateProject in IntelliJ.
Using IntelliJ provides for the correct folder structure and metadata to build your operator.
- Right-click
PluginTemplateProject/src/main/scala, and choose Mark Directory As...Generated Sources Root. - Create a package in
PluginTemplateProject/src/main/scalato hold the operator code.Use your company's naming scheme for packages, if you have one. This example uses the package namecom.mycompany.plugins. - Within that package, create a Scala file called
SimpleDatasetGenerator.scala.
Your code should look like this so far:
package com.mycompany.plugins class SimpleDatasetGenerator { }You do not need this auto-generated class, so you can delete it.
What to do nextCreate the Signature Class.