Yanzi

How to debug spark plugin in eclipse, some errors

Discussion created by Yanzi on Aug 27, 2006
Latest reply on Nov 22, 2011 by cmitch13

Hi,

 

     I asked question in previous thread, now I can trigger my plugin by running the startup under

Spark\target\sparkplugs\spark\bin

 

after copy the myplugin to the plugin folder.

 

Now I need to debug the plugin,

but I can not get through by using the ANT run under the build.xml

I got the error as following , could you please help to tell me what shall I do to fix this?

Thanks a lot,

 

 

     Copying 1 file to C:IMWork\Spark\target\sparkplugs\spark\plugins

     Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: no tray in java.library.path

     at java.lang.ClassLoader.loadLibrary(Unknown Source)

     at java.lang.Runtime.loadLibrary0(Unknown Source)

     at java.lang.System.loadLibrary(Unknown Source)

     at org.jdesktop.jdic.tray.internal.impl.GnomeSystemTrayService.(Unknown Source)

     at org.jdesktop.jdic.tray.internal.impl.ServiceManagerStub.getService(Unknown Source)

     at org.jdesktop.jdic.tray.internal.ServiceManager.getService(Unknown Source)

     at org.jdesktop.jdic.tray.SystemTray.(Unknown Source)

     at org.jivesoftware.spark.component.Notifications.(Notifications.java:86)

     at org.jivesoftware.spark.SparkManager.getNotificationsEngine(SparkManager.java:20 6)

     at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:191)

     at org.jivesoftware.LoginDialog.startSpark(LoginDialog.java:711)

     at org.jivesoftware.LoginDialog.access$600(LoginDialog.java:72)

     at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:490)

     at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:132)

     at java.lang.Thread.run(Unknown Source)

Outcomes