Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problems with Plugin
Problems with Plugin [message #486709] Fri, 18 September 2009 16:27 Go to next message
breako  is currently offline breako Friend
Messages: 57
Registered: July 2009
Member
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 #486844 is a reply to message #486709] Sat, 19 September 2009 20:00 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
For general plugin development questions, your should try the Plugin Development Environment (PDE) group's forum instead.

http://www.eclipse.org/forums/index.php?t=thread&frm_id= 14&S=bd1efc2b57a37969418f50af407634bf

Since it sounds like you are a new to plugin development, I would also highly recommend the following book as a good way to get the basics down quickly:

Eclipse: Building Commercial-Quality Plug-ins (2nd Edition)
by Eric Clayberg and Dan Rubel

http://www.amazon.com/Eclipse-Building-Commercial-Quality-Pl ug-ins-2nd/dp/032142672X/ref=sr_1_1?ie=UTF8&s=books& qid=1253390185&sr=8-1

Looking at your problem description it looks like you just exported the plugin jar. That's not enough to make something that will be installable via the update manager. You need to create a feature and generate an update site. Follow-on questions would be best on the PDE forum.

- Konstantin
Re: Problems with Plugin [message #491044 is a reply to message #486844] Tue, 13 October 2009 02:39 Go to previous message
Anthony Do is currently offline Anthony DoFriend
Messages: 13
Registered: October 2009
Junior Member
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
Previous Topic:Re: Static JS Classes not in the Outline view
Next Topic:Re: tomcat server.xml problem
Goto Forum:
  


Current Time: Thu Apr 18 07:50:23 GMT 2024

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

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

Back to the top