CloverETL offers a great number of components, but you can also create your own. All you need is to create the files listed below:
component Java class definition
plugin.xml file
component XML definition
Here we present a guide helpful for the developers-beginners. Those, who have developed more than one custom component, would probably simply copy and paste the core files, see Chapter 3, Tips for Advanced. But if you are not familiar with the Eclipse and CloverETL plug-in system, following steps in this guide is definitely the best for you.
First, make sure you are using Eclipse for RCP and RAP Developers which allows to create plug-in projects. If so, here is the summary of steps to be taken. The detailed description follows below:
create a Java project
add a package to the Java project
add cloveretl.engine.jar to the project build
path
create a component Java class definition file
create plugin.xml file
create a plug-in project
create a component XML definition file
add com.cloveretl.gui dependency
add com.cloveretl.gui.component extension
(set the component XML definition file as the file property)
add com.cloveretl.gui.enginePlugin extension
(set directory to plugins)
import the previously created component engine plug-in
import icons
create Ant build file build.xml
build the component .zip plug-in
In this chapter, we will show you how to create a plug-in for CloverETL Engine. The next chapter illustrates the engine plug-in integration into CloverETL Designer.