Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Loading kettle.properties when running a job from Java code

  1. #1
    Join Date
    Jul 2007
    Posts
    1,013

    Default Loading kettle.properties when running a job from Java code

    Greets.

    Am I supposed to add some code so that kettle.properties variables get loaded when running a job from Java code, or is there something else going on here? The location is "<HOME_DIR>/.kettle/kettle.properties".

    Thanks!

  2. #2
    DEinspanjer Guest

    Default

    Call org.pentaho.di.core.util.EnvUtil.environmentInit();

    That will set up the system environment with the defaults from kettle.properties and a few other defaults.

  3. #3
    Join Date
    Jul 2007
    Posts
    1,013

    Default

    Ahhh, yes, I missed that line.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.