Installing a plain plugin jar in Eclipse 3.5

后端 未结 6 1320
故里飘歌
故里飘歌 2020-12-04 16:11

Since Eclipse 3.5 there seems to be no option to have drop a plugin jar ( not a feature ) in the Eclipse base directory and have it picked up at next startup.

Is the

相关标签:
6条回答
  • 2020-12-04 16:48

    Since the advent of p2, you should be using the dropins directory instead.

    To be completely clear create "plugins" under "/dropins" and make sure to restart eclipse with the "-clean" option.

    0 讨论(0)
  • 2020-12-04 16:56

    in Eclipse 4.4.1

    1. copy jar in "C:\eclipse\plugins"
    2. edit file "C:\eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info"
    3. add jar info. example: com.soft4soft.resort.jdt,2.4.4,file:plugins\com.soft4soft.resort.jdt_2.4.4.jar,4,false
    4. restart Eclipse.
    0 讨论(0)
  • 2020-12-04 16:58

    go to Help -> Install New Software... -> Add -> Archive.... Done.

    0 讨论(0)
  • 2020-12-04 16:58

    This is how you can go about it:

    1. Close Eclipse
    2. Download a jar plugin (let's assume its testNG.jar)
    3. Copy testNG.jar to a certain folder (say C:\Project\resources\plugins)
    4. In your Eclipse installation folder, there is a folder named dropins (could be C:\eclipse\dropins), create a .link file in that folder, (like plugins.link)
    5. Open this file with any text editor and enter this one line:
      path=C:/Project/resources/plugins
    6. Save the file and start Eclipse.

    And you are good to go!

    Please do not forget to change your backward slashes in your plugins folder path to forward slashes on step 5. I used to forget and it would take my time unnecessarily.

    0 讨论(0)
  • 2020-12-04 17:01

    For Eclipse Mars (I've just verified that) you to do this (assuming that C:\eclipseMarsEE is root folder of your Eclipse):

    1. Add plugins folder to C:\eclipseMarsEE\dropins so that it looks like: C:\eclipseMarsEE\dropins\plugins
    2. Then add plugin you want to install into that folder: C:\eclipseMarsEE\dropins\plugins\someplugin.jar
    3. Start Eclipse with clean option.
    4. If you are using shortcut on desktop then just right click on Eclipse icon > Properties and in Target field add: -clean like this: C:\eclipseMarsEE\eclipse.exe -clean

    1. Start Eclipse and verify that your plugin works.
    2. Remove -clean option from Target field.
    0 讨论(0)
  • 2020-12-04 17:05

    Simplest way - just put in the Eclipse plugins folder. You can start Eclipse with the -clean option to make sure Eclipse cleans its' plugins cache and sees the new plugin.

    In general, it is far more recommended to install plugins using proper update sites.

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