gkfabs / Kettle-jsoup

A jsoup plugin for kettle
3 stars 13 forks source link

How to use this plugin #2

Open gurumark opened 9 years ago

gurumark commented 9 years ago

I downloaded this plugin to data-integration/plugins/steps directory . when I wanted to use the plugin I get: org.pentaho.di.core.exception.KettlePluginException: Class not found be.ibridge.kettle.jsoup.JsoupInputMeta

Is there anything I missed?

MerouaneBen commented 8 years ago

I get the same error!

gkfabs commented 8 years ago

Did you compile the plugin?

MerouaneBen commented 8 years ago

No, could please share steps to follow to compile it ? Thanks !

gurumark commented 8 years ago

Here is what I did: 1- git clone the rep into steps directory 2- cd Kettle-jsoup 3- ant compile and got the error below;

ant compile Buildfile: /Applications/data-integration/plugins/steps/Kettle-jsoup/build.xml

compile: [javac] Compiling 5 source files to /Applications/data-integration/plugins/steps/Kettle-jsoup/build [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:21: error: package org.apache.commons.vfs does not exist [javac] import org.apache.commons.vfs.FileObject; [javac] ^ [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInputMeta.java:18: error: package org.apache.commons.vfs does not exist [javac] import org.apache.commons.vfs.FileObject; [javac] ^ [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:178: error: cannot find symbol [javac] private void addFileToResultFilesname(FileObject file) throws Exception { [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInput [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInputData.java:51: error: cannot find symbol [javac] public FileObject file; [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInputData [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:78: error: cannot find symbol [javac] List nonExistantFiles = data.files.getNonExistantFiles(); [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInput [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:86: error: cannot find symbol [javac] List nonAccessibleFiles = data.files.getNonAccessibleFiles(); [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInput [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:156: error: cannot access FileSystemOptions [javac] data.file = KettleVFS.getFileObject(fieldValue, getTransMeta()); [javac] ^ [javac] class file for org.apache.commons.vfs.FileSystemOptions not found [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java:196: error: cannot find symbol [javac] data.file = (FileObject) data.files.getFile(data.filenr); [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInput [javac] /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInputMeta.java:1074: error: cannot find symbol [javac] for (FileObject fileObject : fileList.getFiles()) { [javac] ^ [javac] symbol: class FileObject [javac] location: class JsoupInputMeta [javac] Note: /Applications/data-integration/plugins/steps/Kettle-jsoup/src/be/ibridge/kettle/jsoup/JsoupInput.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 9 errors

BUILD FAILED /Applications/data-integration/plugins/steps/Kettle-jsoup/build.xml:36: Compile failed; see the compiler error output for details.

Total time: 2 seconds