<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    gembin

    OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

    HBase, Hadoop, ZooKeeper, Cassandra

    Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

    There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

    About Me

     

    Install Eclipse Plugins – The Easy Way

    Eclipse as of today is the industry’s major non-Microsoft software

    tool platform. The number of companies adopting this platform is a testimonial of the platform’s success.

    (Check my previous post for more on the history of Eclipse IDE

    )

    Eclipse has a well-designed, and extensible architecture. What is valuable about Eclipse is that it provides an open source platform for creating an extensible integrated development environment. This platform allows anyone to build tools that integrate seamlessly with the environment and other tools.

    The key to the seamless integration of tools with Eclipse is the plug-in. With the exception of a small run-time kernel, everything in Eclipse is a plug-in. This means that a plug-in you develop integrates with Eclipse in exactly the same way as other plug-ins.

    Any new person who is introduced to Eclipse in concerned with one important question : How to Install Eclipse Plugins ?

    There are lot of useful, high quality third party plugins

    available and all the plugin installation instructions specify at most 2 ways to install Eclipse Plugins

    Normal Ways of Installing Eclipse Plugin

    I will take the Eclipse Webtools Plugin to describe the 2 “normal” ways of installing Eclipse Plugins. In the next section I will show how the same can be done in a “easy” way.

    This is how the Eclipse SDK folder structure looks like:

    After extracting the Webtools package you have this folder hierarchy:

    One of the common method of installing is to copy the contents of the “features” into the “features” folder of eclipse, and do the same with the “plugins” folder.

    The other way of installing, which Eclipse also recommends is via the Update Manager.

    You can choose the components you wish to install, choose the dependent plugins etc. In this process, generally you select the default installation location specified by the wizard.

    The advantage with this approach is that when you select a component you are also made aware of the dependent plugins that needs to be installed. For e.g. If I select Web Tools, I am also told to select/install GEF

    The disadvantage with this approach is that it never works well in a low bandwidth environment. I have struggled so many times to install via update manager, somewhere its gets stuck and I am left with a partially installed, corrupted environment.

    The Easy Way

    Now for the “Easy” way of installing Eclipse Plugins. Very few people are aware of this concept and Eclipse somehow doesn’t seem to document this approach anywhere.

    This method uses the concept of “Links”. Here is the step by step procedure. (In the explanation I have used the installation of Webtools as the example)

    1. Create a folder named links inside the eclipse folder (See Picture below)

    2. Create a new file inside this folder and name it as say wtp.link. Note that the file name can be any valid string, but the extension has to be link.

    3. Assuming that I have copied the Web tools into D:\thirdparty as shown below,

    the contents of wtp.link has to be this:

    path=D:/thirdparty/wtp

    Points to Note:

    • The string should always start with “path=” keyword.
    • The path should point to a directory which has a “eclipse” folder which in turn has “features” and “plugins” as sub-folders
    • It is recommended to use forward slash ‘/’ in the path (If you want use Backslash, see that you use the escape character i.e. in Windows it should be “\”)
    • The file extension should end with “link
    • The file (i.e wtp.link in our example) should exist in the “links” folder.
    • It is recommended to create link files only for big plugins/applications. For small plugins you can create just one link file, say misc.link and copy all the small plugins to the path referred by this link.

    Restart Eclipse and now all the plugins and feature descriptions should be read from the path referred by the “link” files.

    Advantages

    Eclipse has a lot of top level and technology projects. To experiment with these projects, the “links” concept comes to the rescue. You can extract the plugin to a “thirdparty” (or a folder of your choice) and just link it within the eclipse installation. My current configuration looks like this:

    Eclipse Projects/Third Party Plugins

    Corresponding Link files

    The “Copy” approach just bloats the eclipse installation and you cannot remove/uninstall the plugin easily. With links approach, you can just remove the “link” file and the plugin is uninstalled !!

    The same links directory can be used in another eclipse installation. For e.g. if you are working with Milestone or different version of Eclipse, you can just copy the links folder (containing .link files) and the plugins are installed.

    It is very easy to manage different versions of a plugin. If a new version doesn’t work, reverting back to a previous version is pretty easy.

    Also, if you use the update feature in Eclipse, you can choose one of the above folders as the installation directory.

    Conclusion

    This approach seems to work fine in both windows and linux. I am not sure why this approach is not documented in Eclipse. I found out about this when I was using the trial version of RAD (Rational Application Developer). It was used primarily to manage product extensions. I believe the same concept can be used to manage plugins (Install/Uninstall).

    Hope this post was useful, if you had any problems using this approach, do leave a comment with the problem description.

    posted on 2010-04-03 13:37 gembin 閱讀(1098) 評論(0)  編輯  收藏 所屬分類: Eclipse

    導(dǎo)航

    統(tǒng)計

    常用鏈接

    留言簿(6)

    隨筆分類(440)

    隨筆檔案(378)

    文章檔案(6)

    新聞檔案(1)

    相冊

    收藏夾(9)

    Adobe

    Android

    AS3

    Blog-Links

    Build

    Design Pattern

    Eclipse

    Favorite Links

    Flickr

    Game Dev

    HBase

    Identity Management

    IT resources

    JEE

    Language

    OpenID

    OSGi

    SOA

    Version Control

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    free counters
    主站蜘蛛池模板: 无码永久免费AV网站| 野花香在线视频免费观看大全| 久久国产精品免费一区二区三区| 免费精品国产自产拍在线观看图片| 97久久精品亚洲中文字幕无码| 日韩精品内射视频免费观看| 亚洲国产精品自在在线观看| 鲁大师在线影院免费观看| 91精品国产亚洲爽啪在线观看| 亚洲一区二区三区免费视频| 亚洲一区二区三区四区视频| 中文字幕无码不卡免费视频| 国产精品亚洲精品观看不卡| 午夜视频在线在免费| 国产精品亚洲综合网站| 亚洲天堂中文字幕在线| 免费看黄的成人APP| 亚洲福利电影在线观看| 最近2019中文字幕mv免费看| 含羞草国产亚洲精品岁国产精品 | 免费无码午夜福利片69| 日韩亚洲变态另类中文| 114级毛片免费观看| 亚洲精品一卡2卡3卡四卡乱码| 亚洲一区二区三区免费| 亚洲AV永久无码精品一福利| 亚洲乱妇熟女爽到高潮的片| 国产色爽女小说免费看| 日韩在线视频免费| 777亚洲精品乱码久久久久久| 中文毛片无遮挡高潮免费| 人人狠狠综合久久亚洲| 亚洲精品无码午夜福利中文字幕| 午夜爽爽爽男女免费观看影院| 国产亚洲精aa在线看| 中文亚洲AV片在线观看不卡| 国产成人精品免费视频动漫| 黄色a级免费网站| 亚洲欧洲日本天天堂在线观看| 国产一级淫片a免费播放口之| 久久国产乱子伦精品免费一|