Author |
Message
|
Srinu |
Posted: Fri Jun 16, 2006 10:19 am Post subject: Plugin node development |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi,
I have developed a custom node as per my requirement. While creating, I have given category name as MY NODES and node name as FileRead. I have created jar file of java project and placed in MQSI/jplugin directory. Then I have placed the Plugin node projec in ecclipse/plugin folder.Then I restarted my broker and configuration manager.
When I open the toolkit the category name and node name appeared as "category.name" and "entry.FileRead". When I try to place the node in message flow editor I am getting an error as
--------------------------------------------------------------
BIP0899E Cannot add subflow 'FileRead.msgnode'
Reason:
The file 'FileRead.msgnode' cannot be found.
The file may exist in a project the is not referenced.
Add the project containing the subflow as a referenced project and try the operation again.
-----------------------------------------------------------------
Help me out to resolve this problem
Thanks,
Srinu |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 16, 2006 1:37 pm Post subject: Re: Plugin node development |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Srinu wrote: |
Then I have placed the Plugin node projec in ecclipse/plugin folder. |
You do not put the project in the eclipse plugins folder. You create a properly formatted eclipse plugin folder, which includes your jar file and the other necessary resources as appropriate.
The Runtime Workbench can help you debug the eclipse portion of your plugin. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Jun 16, 2006 8:36 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Srinu,
Try not use names with spaces in the node project and the category name.
Hope your node project has the palette.properties file as
Quote: |
category.name=FileRead Plugin
entry.FileRead=FileRead
tooltip.FileRead=FileRead |
Also could you please paste the first 5 lines from your *.msgnode file....need to verify something that caused me some trouble....
Plus have u specified the right jar file in the build.properties file...
Regards. |
|
Back to top |
|
 |
Srinu |
Posted: Tue Jun 20, 2006 7:03 am Post subject: |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi Elvis,
thanks for ur reply. As u have said,I have tried the same plug-in node without spaces in project and category name. But the problem is not resolved.My palette.properties file is as shown below
category.name=MyNodes
entry.FileRead=FileRead
tooltip.FileRead=FileRead
You even asked me to paste first five lines of code from *.msgnode file but I haven't find any code except editor to create terminals in that file
Elvis what r the jar file do v need in the build.properties file
Regards,
Srinu |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Jun 20, 2006 7:53 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Srinu,
Srinu wrote: |
category.name=MyNodes Plugin
entry.FileRead=FileRead
tooltip.FileRead=FileRead |
Ofcourse that is not the error...
Srinu wrote: |
You even asked me to paste first five lines of code from *.msgnode file but I haven't find any code except editor to create terminals in that file |
I wanted to see the first few lines of the creation...You will notice in the node naming(in the second line i suppose) that, the project name will be added infront of the node name as MyNodes/FileRead....you need to remove the "MyNodes/"....thats why I wanted to see the lines...
Srinu wrote: |
Elvis what r the jar file do v need in the build.properties file |
The build.properties will only contain the following line
Quote: |
source.FileRead.jar = src/ |
where FileRead is the name of the jar which i suppose u might have created.
If all this does not work, then u can mail me the files, i'll to try to fix it.
Regards. |
|
Back to top |
|
 |
|