How to set plugin directory?

Hi
I’m a newbie CloverETL user and I’m still bumping with configurations issues to run the examples.
I’ve downloaded everything as describe on User Guide.
But when I try to run GraphRunner for the example graphSimpleCopy.grf I’m getting an error like :

ERROR [main] - Plugin directory does not exists or is not directory. (./plugins)
Graph definition file: graphSimpleCopy.grf
ERROR [main] - Unknown component type: SIMPLE_COPY
ERROR [main] - Error during graph initialization !
java.lang.RuntimeException: Unknown component type: SIMPLE_COPY
at org.jetel.component.ComponentFactory.createComponent(ComponentFactory.java:115)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateNodes(TransformationGraphXMLReaderWriter.java:402)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiatePhases(TransformationGraphXMLReaderWriter.java:365)
at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:277)
at org.jetel.main.runGraph.main(runGraph.java:149)

My work directory is c:\clover\examples and CloverETL is installed on c:\clover

Do I need to set the plugin directory ? How may I do that ?

Thanks a lot
Julio

Hi !

Plugins is assumed to be under “plugins/” subdirectory of directory where you run clover.engine.jar from.

However, you may use following command-line option to provide full (or relative) path:

runGraph -plugins

For example let’s assume you have unzipped CloverETL engine into c:\cloveretl
And you have your examples in c:\cloverexam.

Then you should be able to run the engine and graphSimpleCopy.grf using following command (I assume you are in c:\cloverexam directory:

C:\cloverexam>java -cp “C:\cloveretl\cloveretl.engine.jar;C:\cloveretl\lib\commons-logging.jar;C:\cloveretl\lib\log4j-1.2.12.zip;C:\cloveretl\lib\poi-2.5.1.jar;C:\cloverexam” org.jetel.main.runGraph -plugins C:\cloveretl\plugins graphSimpleCopy.grf

!!! don’t forget to updated “workspace.prm” configuration file in \cloverexam - otherwise graphs won’t be able to locate data files !!!

The reason for “C:\cloverexam” being part of the CLASSPATH is that some examples load-in Java classes which are located in this directory.