Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this plugin #2

Open
gurumark opened this issue Jan 1, 2015 · 4 comments
Open

How to use this plugin #2

gurumark opened this issue Jan 1, 2015 · 4 comments

Comments

@gurumark
Copy link

gurumark commented Jan 1, 2015

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
Copy link

I get the same error!

@gkfabs
Copy link
Owner

gkfabs commented Jan 29, 2016

Did you compile the plugin?

@MerouaneBen
Copy link

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

@gurumark
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants