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.