Customer Portal

How to set plugin directory ?

Comments 1

  • Avatar
    oldforum
    0
    Comment actions Permalink
    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 <path to plugins dir>

    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.

Please sign in to leave a comment.