Joined: 16 May 2001 Posts: 200 Location: Green Bay Packer Country
I was confused about this also, mainly about how to deal with packages. I've got everything working now and hopefully my comments here will help.
You can use packages in your jar as long as you specify the ID correctly to account for them and the bug. If you have jar file that looks like the sample:
sebulba:(/opt/mqsi/jplugin) 35: jar tvf com.nml.mqsiPlugins.jar
2784 Tue Jan 07 08:28:04 CST 2003 com/ibm/samples/SwitchNode.class
3435 Tue Jan 07 08:28:04 CST 2003 com/ibm/samples/TransformNode.class
408 Tue Jan 07 08:28:06 CST 2003 META-INF/MANIFEST.MF
and thus has the package statement:
package com.ibm.samples;
Then set the CLASSPATH to also point to the supplied jplugin.jar and yours (mqsiPlugins.jar is what I used) and set the ID in your node (Plugin Wizard) definition to:
ComIbmSamplesSwitch
Also, the getNodeName method should be returning:
ComIbmSamplesSwitchNode
and the Class would be named:
SwitchNode
to account for the bug/feature from IBM. I'm running 2.1 CSD#3 on HP-UX and this bug/feature still exists in regards to the "Node" being appended in the ID definition for you.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum