在项目中,我们通常把kettle通过api的方式放到后台运行,很多人碰见了kettle的plugins下的插件怎么加载。
下面我给大家讲一下怎么加载plugins插件。
在执行ktr的时候,设置一下变量即可。如下
String KETTLE_PLUGIN_BASE_FOLDER = "D:\\pdi-ce-7.0.0.0-25\\data-integration\\plugins";
System.setProperty("KETTLE_PLUGIN_BASE_FOLDERS", KETTLE_PLUGIN_BASE_FOLDER);
mongodb的操作。
D:\pdi-ce-7.0.0.0-25\data-integration\system\karaf\system\pentaho
下的pentaho-mongodb-plugin
pentaho-mongo-utils
拷贝到
D:\pdi-ce-7.0.0.0-25\data-integration\plugins 下即可