Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Problem setting

The Pentaho Platform and the PCI (Pre-Configured Installation) went GA before Pentaho Data Integration and shipped with a version 2.5.1 of PDI.

That means that if you want to run your 3.0 transformations on the platform, you need to upgrade the KettleComponent to make use of the new 3.0 API.

The next version of the Pentaho platform will have an updated KettleComponent for version 3.0 to work with.  For now we will have to work around it... 

Compiling the new KettleComponent

To modify the Pentaho platform source code to run PDI version 3 transformations and jobs, follow these steps:

  • Get the source code for the Pentaho platform version 1.6.0
  • Put the new Kettle jar files into directory third-party/lib/  (from PDI directory lib/ )
    • kettle-engine-3.0.jar
    • kettle-ui-swt-3.0.jar
  • add jar file ognl.jar to third-party/lib as well  (from PDI directory libext/ )
  • modify the source code of the KettleComponent with these Java classes:
    • TODO
    • TODO
  • upgrade the jar file
    • third-party/lib/apache/commons-digester-1.7.jar
    • to the one found in PDI : libext/commons/commons-digester-1.8.jar
  • Modify the Pentaho build file (build.xml) to produce and handle Java5 code.
    • change the "javac" targets from
      • source="1.4" target="1.4"
    • to:
      • source="1.5" target="1.5"

That should allow you to run the latest Kettle transformations and jobs on the Pentaho platform.

  • No labels