US and Worldwide: +1 (866) 660-7555
Results 1 to 4 of 4

Thread: Use java code to excute *.ktr

  1. #1
    Join Date
    Apr 2006
    Posts
    2

    Default Use java code to excute *.ktr

    Hi,


    Can I excute *.ktr by using java code or servlet , not kettle GUI.



    If have , there is any sample code shows us ?



    thanks

  2. #2
    Join Date
    Nov 1999
    Posts
    9,534

    Default RE: Use java code to excute *.ktr

    Please see the source code of be.ibridge.kettle.pan.Pan


    See also this link



    HTH,



    Matt
    Matt Casters, Chief Data Integration
    Pentaho, Open Source Business Intelligence
    http://www.pentaho.org -- mcasters@pentaho.org

    Author of the book Pentaho Kettle Solutions by Wiley. Also available as e-Book and on the Kindle reading applications (iPhone, iPad, Android, Kindle devices, ...)

    Join us on IRC server Freenode.net, channel ##pentaho

  3. #3
    Join Date
    Apr 2006
    Posts
    2

    Default RE: Use java code to excute *.ktr

    Thanks for the quick and warmhearted response.


    I have looked for it so long.



    I'll try it immediately.

  4. #4
    Join Date
    Nov 1999
    Posts
    9,534

    Default RE: Use java code to excute *.ktr

    No problem.

    Some thing to look out for: initialise StepLoader singleton. In a servlet, webservice, etc. make sure to set the location(s) of your plugins. (if you have any)

    Matt
    Matt Casters, Chief Data Integration
    Pentaho, Open Source Business Intelligence
    http://www.pentaho.org -- mcasters@pentaho.org

    Author of the book Pentaho Kettle Solutions by Wiley. Also available as e-Book and on the Kindle reading applications (iPhone, iPad, Android, Kindle devices, ...)

    Join us on IRC server Freenode.net, channel ##pentaho

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •