# How to set plugin directory?

**URL:** <https://forum.cloverdx.com/t/how-to-set-plugin-directory/67>\
**Category:** CloverDX Platform\
**Created:** [July 16, 2007, 12:00am UTC](https://forum.cloverdx.com/t/how-to-set-plugin-directory/67 "2007-07-16T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldforum](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@oldforum](https://forum.cloverdx.com/u/oldforum)\
**Post date:** [July 16, 2007, 12:00am UTC](https://forum.cloverdx.com/t/how-to-set-plugin-directory/67/1 "2007-07-16T00:00:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![oldforum](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@oldforum](https://forum.cloverdx.com/u/oldforum)\
**Post date:** [July 16, 2007, 8:23am UTC](https://forum.cloverdx.com/t/how-to-set-plugin-directory/67/2 "2007-07-16T08:23:44Z")

</div>

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.
