Problems with Plugin [message #486709] |
Fri, 18 September 2009 12:27  |
Eclipse User |
|
|
|
Hi,
I am using Eclipse Ganymede to write a simple plug-in.
My plug-in project uses the template: 'plug-in with sample help content'.
I test it using the "Launch an Eclipse application" in the testing section
of the overview tab of the project. All Ok. It works as expected. I can
see the new items in the help menu.
I then export the plug-in using the links in the export section, on the
overview tab in the plug-in development perspective. This results in a
jar file created for plug-in with all the files in the jar file.
However, when I try to use this plug in any other eclipse instances, I run
into problems.
I selecte help / software updates / available software / Add site /
Archive / Select the jar and I get:
No repository found at jar:files:D:\plugins\my.plugin.help_1.0.0.jar!/
and then:
See details for more information.
I click on details an dI just get the same error message.
This makes no sense to me. Would really appreciate some help. I have tried
using the -clean option makes no difference. The jar file looks ok, it's
not corrupted I can open it with winzip and all ok.
Any help, greatly appreciated.
Thanks.
|
|
|
|
Re: Problems with Plugin [message #491044 is a reply to message #486844] |
Mon, 12 October 2009 22:39  |
Eclipse User |
|
|
|
1. the packaged plug-in jar file is not a packaged update-site jar file which could be installed by update manager. read HELP-->PDE Guide for more information about these concepts.
2. To manuelly install a well-packaged plugin(here it means your exported plugin jar), you just need to put it into directory: "<your_eclipse_installation_directory>\plugins\ ", and start your ide.
3. To check if your plugin has been installed, go to Help-->About Eclipse SDK, and click the "Plug-in Details" button. and try to locate your plugin id in the dialog.
4. Seems you are new to PDE development, trying Konstantin's advise for a concepts brain-wash before going further.
HTH
Anthony
|
|
|
Powered by
FUDForum. Page generated in 0.03751 seconds