DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page How are you writing plugins for eclipse?
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default How are you writing plugins for eclipse? - 01-09-2009, 03:54 AM

I have spent a lot of time to wait to restart the eclipse IDE, every time I changed a plugin(XYZ), I must:
1) quit the eclipse
2) delete the previous version of the plugin(XYZ)
3) launch eclipse, to clear the plugin cache
4) quit again
5) put the new version of the plugin(XYZ) under dropins/ folder
6) launch eclipse again, now the new plugin(XYZ) is loaded.
I don't know how you guys develop plugins, I've searched how to `reload a plugin' but got nothing, all said must restart the eclipse and sometimes you need to specify `eclipse -clean' for a more cleaned restart.

And I've tried wrap my plugins in a `feature', and put that `feature' in an `update-site', then `install' the feature. And when you want to reload the plugin, you can `uninstall' it and then `install' it, but it doesn't work!

And I even don't know what a `feature' really is, why not call it `plugins-bundle' or `enterprise plugin' etc. And why not make the plugin just reloadable, or even auto reload at runtime by checking the modification time of the jar file, just as most JSP Container(tomcat, resin, etc.) did.

How are you writing plugins for eclipse? Is there any better way to reload a plugin?

Thanks,
Lenik
Reply With Quote
  (#2 (permalink)) Old
Moderator
 
Posts: 102
Thanks: 0
Thanked 7 Times in 7 Posts
Join Date: Jan 2008
Default 01-27-2009, 06:27 AM

Well you can run an instance of Eclipse, with selected plugins from your workspace used in the launch. This would at least save you from all this deployment..

Let me know if you need further details.
James
Reply With Quote
Reply

Tags
eclipse, feature, plugin reload, plugins, updatesite

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing my help plugin marigold Eclipse 2 05-18-2009 10:09 PM
plugins in eclipse rcp baksheen Eclipse 0 12-04-2008 02:42 AM
writing java script ratha Ajax & Javascript 0 11-11-2008 05:48 AM
eclipse plugins jaydhar Eclipse 0 09-04-2008 07:32 PM
Converting Jars to Eclipse Plugins qbproger Eclipse 0 03-06-2008 01:48 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com