How to Install one Plug-in into Eclipse

2023-10-27

How to Install One New Plug-in

  • Old Way(before Eclipse 3.4)
    –Installed new plug-ins by dumping them in the eclipse/plugins/ directory and restarting with the -clean command line argument.
    –Put new plug-ins under one external directory, then create one link file under eclipse/links/.

  • New Way
    –Use Equinox/p2/(http://wiki.eclipse.org/Equinox/p2/Getting_Started)

Issue about Plug-in Installation - old way

  • ~/.eclipse folder

–It doesn’t cache code there, but it does store other information. In eclipse/configuration: Certain files that were requested “extracted” from their plugins, like files or directories. The extension registry cache (that’s what -clean causes to be re-read, and is not a problem when updated via p2 as p2 cleans the cache). bundles.info, which is a pointer to specific plugins and their run levels. Other configuration level (as opposed to workspace level) information (things like network proxies, for example).
–There’s also the eclipse/p2 directory at the install level, which contains pointers to bundles and other install/configuration type metadata that is generated for a particular install.
–Refer to following issues:

https://www.eclipse.org/forums/index.php/t/199193/

https://lists.fedoraproject.org/archives/list/eclipse-sig@lists.fedoraproject.org/thread/74TAGFTYI42AYYKTOYH2AX6AEO5P2IYX/

So in our project, once we upgrade our tape, we need to delete the ~/.eclipse file in the meanwhile before starting SMT.

If not, the bundles.info will not up to date.

How Do We Do Now

  • Use Equinox/p2

–The Eclipse platform ships with a default watched directory called dropins. The dropins folder is configured to be scanned during startup, and for changes to be immediately applied to the running system. Thus the dropins folder can be used much like the plugins directory was used in the past.
–See the detail in http://wiki.eclipse.org/Equinox/p2/Getting_Started

  • Notes

–By using p2, once we publish our plug-ins and features, any changes to the code must cause version increments. After changing one line of the code, it starts to differ from what people have installed on their machines, which means it is not the same version.

So we need to update the features and plug-ins bundle version

Please refer to http://wiki.eclipse.org/Version_Numbering

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_version_qualifiers.htm

How to Debug p2

  • Add following content into
  • /eclipse/eclipseRE/configuration/config.ini file:

–osgi.debug=/home/devin/p2_debug.option

  • The content in p2_debug.option like below:

–org.eclipse.equinox.p2.core/debug=true
–org.eclipse.equinox.p2.core/reconciler=true

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

How to Install one Plug-in into Eclipse 的相关文章

随机推荐

  • AtCoder Beginner Contest 219 D - Strange Lunchbox

    D 问当A至少x个 B至少y个的最小方案数 定义dp i j 位A有i个 B有j个的最小方案数 然后枚举 因为问的是至少 所以要遍历A从x B从y开始到300的所有答案 因为可能没有刚好到达x y 如样例1 include
  • 局域网的组成及主要设备的作用

    局域网通常是分布在一个有限地理范内的网络系统 一般所涉及的地理范围只有几公里 通常由一个单位或组织建设拥有的计算机网 局域网由网络硬件 包括网络服务器 网络工作站 网卡 网络互联设备等 和网络传输介质 以及网络软件所组成 网络设备 即网络通
  • 知识推理学习笔记

    知识推理 一 OWL本体语言 1 语法 2 逻辑基础 3 描述逻辑系统 1 最基本的元素 概念 关系 个体 1 概念 解释为一个领域的子集 2 关系 解释为一个领域的二元关系 笛卡尔乘积 3 个体 一个领域内的实例 2 TBox术语集 泛化
  • spring boot整合JMS(ActiveMQ实现)

    一 安装ActiveMQ 具体的安装步骤 请参考我的另一篇博文 http blog csdn net liuchuanhong1 article details 52057711 二 新建spring boot工程 并加入JMS Activ
  • 阿里三面 失败

    update 2015 04 16 在tomcat下一个 使用classloader加载类信息之后将被放置在一类方法区 永久代 当这个类创建一个线程 例如 显示当前的时间段 这会导致此类信息已经在该地区长期存在 作已经完毕了 可是没有把这个
  • 微信小程序模板消息群发、无限制推送相关讲解

    模版消息推送是微信小程序采用的通知形式 用户本人在小程序页面有交互行为后 可触发下发通知 通过微信聊天列表中的服务通知可快捷进入查看消息 此外 点击查看详情还能跳转到下发消息的小程序的指定页面 但是为了避免这种通知被滥用 带来不好的用户体验
  • OFD如何转Word?这2个小窍门,1秒帮助大家完成操作

    你知道OFD如何转Word吗 OFD是一种新型的电子文档格式 具有体积小 解析度高 文本可编辑等特点 受到了越来越多用户的青睐 但在实际应用中 由于部分软件对OFD的支持不足 用户在处理OFD文档时可能会遇到一些困难 其中 将OFD文件转换
  • spring实现属性值的注入

    首先创建一个实体类User Data Builder NoArgsConstructor AllArgsConstructor public class User private String username private Intege
  • 远程办公之:向日葵X 使用教程

    一 X版本简介 向日葵远程控制软件 X版本 是集主被控一体的全新客户端 偏向个人用户 只需要安装一个软件就能达到远程协助 查看主机列表 绑定硬件设备等功能 彻底结束了运行两个程序的历史 让远程操作真正做到 轻装上阵 方便用户实现快速的远程协
  • 【Leetcode】662. 二叉树最大宽度

    题目描述 题解 还记得二叉树层序遍历https blog csdn net fisherish article details 115791079 还有二叉堆的概念 结点如果为 i 那么左子节点值为 i 2 右子节点值为 i 2 1 结合一
  • 开发 mirai QQ机器人起步教程

    前言 虽然该文最终是达到以python开发mirai机器人的目的 但起步教程 尤其是环境配置上仍然有大量的相同操作 对其他编程语言仍有借鉴之处 假设你已经安装好了 Java Python等运行必须的环境 mirai生态 mirai官方生态文
  • vue学习笔记:三种for循环用法

    vue学习笔记 三种for循环用法 需求 遍历books数组 计算出总价格 price是单价 count是数量 for的第一种用法 也是最普通的一种 let totalPrice 0 for let i 0 i lt this books
  • 2018焦作网络赛E

    区间更新加法与乘法 x取反是2 64 x 1 由于取模所以取反变成 x 1 就区间 1再 1就可以了 最后区间询问求和 include
  • IDEA配置运行非Maven项目-非常详细

    文章目录 一 写在前面 1 1 为啥会有此篇博文 1 2 准备 二 正文 2 1 使用IDEA打开 Open 项目 2 2 打开项目结构 Project Structure 2 2 1 打开方式 2 2 2 项目结构配置内容总览 2 2 3
  • DANA简介

    Dynamically Allocated Neural Network DANA Accelerator https github com bu icsg dana spinalHDL Doc https spinalhdl github
  • 04-----git查看相应信息的操作

    git branch a 查看所有分支 git log p master remotes origin master 查看本地的master分支和remotes origin master分支的差别 git status 可以查看到工作区
  • shell 脚本学习

    1 bin bash 指定解释器是 bash 解释器有几种 2 a 1 给a赋值为1 注意中间不能有空格 赋值时不能有空格 3 unset a 取消变量a 4 readonly a 10 声明a为只读变量 并且赋值为10 注意这时就不能用u
  • Flutter环境搭建报错:What went wrong: A problem occurred configuring root project 'android'

    window下 在AS中搭建Flutter环境 创建Flutter项目报错 报错信息如下 文件加载失败 需要更换gradle文件中的镜像 找到 gradle文件 2 更改镜像 更改镜像 repositories google jcenter
  • 软件2.0时代之三:毛新生谈他眼中的Web2.0

    软件2 0时代之三 毛新生谈他眼中的Web2 0 2007 08 31 来自 CSDN 共有评论 7 条 发表评论 收藏到我的网摘 Web是一个 活物 是一个时时新 日日新 每天都在生长着的世界上最大的开放分布式系统 Web和以前的IT系统
  • How to Install one Plug-in into Eclipse

    How to Install One New Plug in Old Way before Eclipse 3 4 Installed new plug ins by dumping them in the eclipse plugins