Deploying a newly developed Eclipse Plugin

后端 未结 5 788
时光说笑
时光说笑 2021-01-31 10:13

I have written an Eclpise plugin (an Error Parser for the CDT), and it works just fine in the debugger version of eclipse. However I cannot for the life of me figure out how to

相关标签:
5条回答
  • 2021-01-31 10:17

    No Idea What I did to screw up my eclipse install. But reinstalling eclipse and putting the plugin in dropins worked just fine!

    0 讨论(0)
  • 2021-01-31 10:17

    Here is more information: To use your plug-ins in your standard Eclipse installation you can either export it locally as plug-in and place it into your Eclipse installation or you export it as feature and use the Eclipse update manager to install it.... http://www.vogella.de/articles/EclipsePlugIn/article.html#deployplugin

    0 讨论(0)
  • 2021-01-31 10:21

    there is a folder under the directory C:\eclipse\plugin just copy that .jar file and paste it into this folder before doing this close the eclipse IDE and open it again when u are done check the plugin effect

    0 讨论(0)
  • 2021-01-31 10:23

    The reason why my plugin was not being loaded was that my plugin had features of CDT and CDT Development SDK was not installed in eclipse.

    Once I installed the CDT Development SDK tools, my plugin was loaded automatically.

    0 讨论(0)
  • 2021-01-31 10:33

    Putting the plugin into the eclipse/plugins folder should work. If it doesn't, that usually means Eclipse has cached the plugins configuration for performance reasons. You can force Eclipse to rescan the plugins directory for changes by starting it with the -clean command-line argument.

    The typical deployment mechanism for Eclipse is to use features. A feature includes plugins (in your case, probably just one), and can be installed through the Eclipse update manager. To deploy your plugin using a feature, you would do the following:

    1. Create a feature project, and add your plugin to the feature using the feature editor.
    2. Create an update site project, and add your feature to the update site, using the update site editor.
    3. Build the update site. This creates a site.xml file, a features folder, and a plugins folder.

    You should then be able to point the Eclipse update manager at the folder or URL containing the site.xml, and install your plugin that way. The advantage of this approach is you can upload the files to a website and deploy remotely.

    0 讨论(0)
提交回复
热议问题