Plugin does not appear in Servoy Editor

Hello all ;

Anyone could help me on how to make a plugin to show to in servoy editor … i think the problem is in the package path created in eclipse … i was using before “com.servoy.r2.plugins” and it was working fine but now i’m using servoy 3.1.6 and it is not working anymore … could the package be “com.servoy.extensions.plugins.myname” similar to the imported mail plugin for example

regards

Saher

No. That shouldn’t be the problem. You can name it com.yourcompany.yourplugin, that does not matter. Do you see an error in the console?

hi … there is no error in the console … what might me the problem

regards

Saher,

We have renamed our com.servoy.r2 plugins internally.
For backward-compatibilty, we support the old names which probably breaks non-servoy plugins starting with com.servoy.r2.

The solution it to use your own package name for your own plugins.

Rob

I made it work but the problem was because of the “if
condition” in the
following method
getScriptObject( ):
if( scriptObject == null)
{
scriptObject = new MyPluginProvider( );
}
return scriptObject ;

after that it appeared just fine in the editor

regards

Saher