Link to home
Start Free TrialLog in
Avatar of arijit_rebaca
arijit_rebaca

asked on

Deploying Eclipse plugin

Hi all,

I am using Eclipse 3.2 SDk to create "HelloWorld" plugin project using the Plug-in Development wizard. When I am running the pulgin project from within Eclipse, using the "Run as ... Eclipse application" it is working fine. But when I am trying to deploy, its not working. I am deploying the plugin by exporting the project as a .jar file, and placing the jar file along with plugin.xml inside ECLIPSE_HOME/plugin/com.example.hello_1.0.0, where com.example.hello is the plugin id and 1.0.0 is the version number. Can any body please point out what I am doing wrong here?????

Thanks in Advance
Deepanjan
Avatar of girionis
girionis
Flag of Greece image

Hi arijit_rebaca

when you say it's not working what exactly do you mean? Do you get any error messages?

Cheers
Avatar of arijit_rebaca
arijit_rebaca

ASKER

Hi

Thanks for ur reply...

The plugin that I have am trying to install will add a new menu group "Hello Action Group" and a new menu item "Hello Action" under it. It should also add a toolbar button. But nothing is happening.

And no error. Thats the most surprising thing. I checked in the configuration details and I can find a entry for my plugin dir, i.e. file:/{Eclipse_Home}/plugins/com.example.hello. But I cannot find any entry for my plugin in the error log.

Thanks
Deepanjan
Can you see tha plugin in the Eclipse? It is possible that Eclipse does not load it correctly.
No i cannot see it listed under "Plug-in Details".
Then you probably did not install it properly. Try to reinstall it or restart Eclipse.
The jar file should go into ECLIPSE_HOME/plugins folder.
the jar file name should be <id>_version.jar. In your case, it should be com.example.hello_1.0.0.jar
Hi

I have tried doing what u suggested. But its not working  )):

Thanks
Can you try installing it through eclipse, and not just puting the jar in the plugins folder?
Try going into Help -> Software updates and install the plug-in from there by specifying the directory that contains the plug-in's files. Restart Eclipse after that's done.
> I have tried doing what u suggested. But its not working  )):
How are you exporting it?
HI Guys

Millions of thanks for your help. I was able to install the plugin and its working fine.
Thanks a lot

Deepanjan
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please close this thread

Thanks EveryBody
What was the actual solution?