Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: help: debugging kettle plugin

  1. #1
    felipee Guest

    Default help: debugging kettle plugin

    Hey all,

    I started to write pentaho plugin and since I am newbie to eclipse I
    spent some hard time with configuring eclipse project to run/debug
    kettle. I did it. However, debugging plugin looks like different story
    and I'm stuck. Could you somebody point out what am I doing wrong?

    Here is what I did:
    1. build plugin, so it contains .jar file and plugin.xml (and icon of
    course)
    2. copied plugin to distrib/plugins/steps/<plugin_folder> . I tested
    by running kettle and plugin is in proper category.
    3. Now, I'm getting NPE somewhere when opening plugin's dialog window
    and this is what drives me crazy. So I decided to debug the code, of
    course. I added this to VM arguments in Debug Configuration
    -
    DKETTLE_PLUGIN_CLASSES=org.dirigent.kettle.ui.DirigentPluginDialog,org.dirigent.kettle.DirigentPlugin,org.dirigent.kettle.DirigentPluginData,org.dirigent.kettle.DirigentPluginMeta

    I added path to distrib/plugins ... /dirigent.jar to classpath and to
    buildpath

    4. run debugging and I get "Unable to install breakpoint in
    org.dirigent.kettle.ui.DirigentPluginDialog due to missing line number
    attributes. Modify compiler options to generate line number
    attributes. Reason: Absent Line Number Information"

    Property: "Add line number attributes to generated class files" is
    enabled

    Does somebody have any idea what am I doing wrong? I'll really
    appreciate any hint because I am stuck here.

    Thanks a lot.
    Filip.

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) googlegroups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  2. #2
    Filip Zamboj Guest

    Default Re: help: debugging kettle plugin

    Ok. I few more hours and I figured it out. topic closed for me.

    On Apr 14, 5:46

  3. #3
    Filip Zamboj Guest

    Default Re: help: debugging kettle plugin

    since I got some questions about some help on this I decided to post
    some steps on wiki. It is draft (at the time being) but it may help
    someone.

    http://code.google.com/p/dirigent/wi...inUnderEclipse

    Regards,
    Filip.

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) googlegroups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

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.