Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Trying to get a plugin to work
Trying to get a plugin to work [message #294201] Sun, 06 November 2005 19:39 Go to next message
Eclipse UserFriend
Originally posted by: chris.alex.thomas.gmail.com

Hi,

I've got a plugin which allows SFTP transfers to occur inside eclipse, I
can set either in each project or the workbench prefs which sftp sites I
want and then select multiple groups of files, and then right click, and
get or put those files to the server.

it's all working without a hitch when I use eclipse to debug or run the
plugin.

my problem comes when I try to export that plugin so I can put it on the
web and let other people try it, I can't seem to export the plugin that
works in eclipse.

I've tried right clicking the project, export jar, selecting what I want
to export and including the source of course, I got a 400KB (around) jar
file, I put them into a directory

eclipse/plugins/org.kmem.kosh.sftp

then I reload eclipse, it doesnt work. When I goto the workbench
preferences and open the page for my plugin, I get

"Preference Page Creation Problems

Unable to create the selected preferences page

Reason:
Plugin org.kmem.kosh.sftp was unable to load class
org.kmem.kosh.sftp.ui.WorkBench"

I also tried the method through the plugin manifest editor, where you
get to export your plugin, I've tried directory and archive solutions,
both give me the same problem.

anyone help I really would like to be able to use my plugin and giv eit
to others, as soon as this gets fixed, I can put it on the sourceforge
page and everyone can try it

thanks

chris
Re: Trying to get a plugin to work [message #294209 is a reply to message #294201] Mon, 07 November 2005 07:56 Go to previous message
Eclipse UserFriend
Plugin export can be caused by 3rd party jar files, amongst other things.


If you have to use 3rd party jar files, they have to be plugins
themselves or they have to be included in your plugin using something
like
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg06980.html

The easiest way to export a plugin is to click on the "Export Wizard"
from the plugin/MANIFEST editor.

What was the root error of your:
Reason:
Plugin org.kmem.kosh.sftp was unable to load class
org.kmem.kosh.sftp.ui.WorkBench"

Was it a class not found of org.kmem.kosh.sftp.ui.WorkBench? Is it in
your plugin jar file (or plugin directory)?

Later,
PW
Previous Topic:views vanished?
Next Topic:How to get path for plugin?
Goto Forum:
  


Current Time: Sat Jul 19 19:33:46 EDT 2025

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top