Hi,
I want to execute kettle transformation using java API.I am using pentaho 5.0.1 version and i have imported the kettle jobs into the solution repository.I have the following statements
KettleEnvironment.init();
JobMeta jobMeta = new JobMeta("testrepo\\test.kjb", null);
Job job = new Job(null, jobMeta);
job.start();
job.waitUntilFinished();
But it is throwing an error message as the kettle is trying to find the test.kjb in the tomcat bin folder instead of the solution repository.Can someone help in resolving this issue.
I want to execute kettle transformation using java API.I am using pentaho 5.0.1 version and i have imported the kettle jobs into the solution repository.I have the following statements
KettleEnvironment.init();
JobMeta jobMeta = new JobMeta("testrepo\\test.kjb", null);
Job job = new Job(null, jobMeta);
job.start();
job.waitUntilFinished();
But it is throwing an error message as the kettle is trying to find the test.kjb in the tomcat bin folder instead of the solution repository.Can someone help in resolving this issue.