Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Spark Support
Viewing all articles
Browse latest Browse all 1031

Custom Plugin not getting initialized when logout and re loging

$
0
0

Hi,

 

Note: It is an high priority issue for. Need your help ASAP.

 

I have created spark custom plugin and made some UI changes and deployed into spark.

When I start the spark.exe first time and login to the spark, I observed that

my plugin code executed properly. I have followed the below step for the create and deploy custom plugin

1) Created a My custom Plugin.java class by implementing the Plugin.java interface

2) Created the plugin.xml file with my custom plugin details as below

<plugin>

    <name>Myplugin</name>

    <version>1.0.1</version>

    <author>Venu Kodumagulla</author>

    <homePage>http://www.mytest.com</homePage>

    <email>venu.kodumagulla@gmail.com</email>

    <description>Creates automatic conference and joins users</description>

    <class>com.test.customplugins.MyChatPlugin</class>

    <minSparkVersion>2.7.0</minSparkVersion>

    <os>Windows</os>

    <java>1.7.0</java>

</plugin>

 

3) Then I created myplugin.jar that contains "plugin-classes.jar"

4) Copied the "myplugin.jar" file to "C:\Spark\plugins". I installed spark at "C:\Spark".

5) Then I started spark.exe located at "C:\Spark" and observed my plugin code is executed and

I found my UI changes on launched Spark UI(I disabled some of menu items in custom plugin)

6) Now I logged out and exit the spark UI and re login by starting the spark.exe again.

Spark UI was launched, but this time I did find my plugin changes on.

7) The I went to "C:\Users\user\AppData\Roaming\Spark" and deleted the "plugins" folder

and restarted the spark.exe file again.

The Spark UI was launched and I did find my plugin changes again.

 

To get my plugin changes effected when logout and re re login, each time I need to delete the "plugins" folder at

"C:\Users\user\AppData\Roaming\Spark"

Could you please let me know an alternate procedure to execute my plugin by default  every time ,when I start spark with out making any changes?

 

 

Thanks, Venu


Viewing all articles
Browse latest Browse all 1031

Trending Articles