Eclipse Plugin Installation and Windows User Access Control
I make Eclipse Plugins and I sell them to developers using Eclipse. Most of the visitors to my web site are not Eclipse experts. One of my key challenges is getting them to successfully install and try my software. It sounds simple, but Eclipse plugin installation is somewhat complex and error-prone process.
The safest way to install a plugin in Eclipse is by using the update manager as opposed to using the Dropins folder or manually copying files. It is safer because Eclipse performs more checks to ensure everything is in order. For example, it can check that all the dependencies are met.
Lately, I got several reports from users who failed to install my plugin using the update manager. After some research and with the assistance of some devoted users, I located a major issue: Installing Eclipse plugins on Windows Vista & 7 with User Access Control (UAC) on, fails if Eclipse is installed in the Program Files folder.
It is a very common scenario: many users are already running Windows 7, the UAC is on by default and the Programs Files folder is where most of the applications are installed, especially custom Eclipse distros that come with fancy Installers. It is a frustrating issue because the plugin installation appears to be complete: it will not issue any error message and, after restarting the platform, it will even show up properly in the Installation Details box. However, the plugins and features JARs are not copies, hence the plugin in not installed.
There are several possible work arounds for this issue: (starting from the easiest)
- Before the installation, start Eclipse with "Run as Administrator" option.
- Turn off the pesky UAC (for the installation or, better yet, altogether).
- Install Eclipse in a different folder. Eclipse doesn't have to be in the Program Files folder.
- Switch to Linux or Mac.
Clearly, the way Eclipse is handling it is bogus and should be fixed. This problem has been around since the days of Vista and Eclipse 3.3. I understand that installing a plugin in this case is an issue, so the least Eclipse should do is fail the process and not mislead the non-suspecting user. If you agree, you might want to vote on this bug (there are several bugs on this topic).
PS. If you're looking for more useful tips on installing Eclipse plugins, check out this article. It was written for Galileo but still applies to Helios.
PS2. I know, I wrote an entire article on Eclipse plugins installation and never once mentioned P2. So, there, I mentioned it.
From http://blog.zvikico.com/2010/08/eclipse-plugin-installation-and-windows-user-access-control.html
see how you can increase your productivity by skipping slow application
redeploys and by implementing application profiling, as you code!
Eclipse Plugin Installation and Windows User Access Control的更多相关文章
- Windows Azure Virtual Network (10) 使用Azure Access Control List(ACL)设置客户端访问权限
<Windows Azure Platform 系列文章目录> 本文介绍的是国内由世纪互联运维的China Azure. 我们在创建完Windows Azure Virtual Machi ...
- windows访问控制列表 --ACL(Access Control List)
1.定义 ACL是一个windows中的表示用户(组)权限的列表. Access Control List(ACL) Access Control Entry(ACE) ... 2.分类 ACL分为两 ...
- Windows平台上使用ANT编译Hadoop Eclipse Plugin
一.准备工作: 1.安装JDK 下载页面:http://www.oracle.com/technetwork/java/javase/downloads/index.html JDK6,JDK7都 ...
- 【windows 访问控制】七、window 访问控制编辑器(Access Control Editor)
window 访问控制编辑器(Access Control Editor) 右键(文件.目录.程序)>选择属性>安全>高级 进入访问控制编辑器
- Oracle Applications Multiple Organizations Access Control for Custom Code
档 ID 420787.1 White Paper Oracle Applications Multiple Organizations Access Control for Custom Code ...
- The J-Link hardware debugging Eclipse plug-in
Quicklinks If you already know what are the features of the new plug-in and just want to know how to ...
- Eclipse plug-in startup
Plug-in Startup !SESSION 2013-09-02 16:28:29.546 -----------------------------------------------ecli ...
- Browser security standards via access control
A computing system is operable to contain a security module within an operating system. This securit ...
- Access control differentiation in trusted computer system
A trusted computer system that offers Linux® compatibility and supports contemporary hardware speeds ...
随机推荐
- Python的网络编程[1] -> FTP 协议[2] -> 使用 ftplib 建立 FTP 客户端
使用 ftplib 建立 FTP 客户端 用于建立FTP Client,与 pyftplib 建立的 Server 进行通信. 快速导航 1. 模块信息 2. 建立 FTP 客户端 1. 模块信息 1 ...
- Codeforces 1025D Recovering BST
这个题被wa成傻逼了.... ma[i][j]表示i,j能不能形成一条直接作为排序二叉树的边,n^3更新维护ma即可,按说应该是要爆复杂度的,数据玄学吧.. #include<iostream& ...
- 洛谷——P1348 Couple number
P1348 Couple number 题目描述 任何一个整数N都能表示成另外两个整数a和b的平方差吗?如果能,那么这个数N就叫做Couple number.你的工作就是判断一个数N是不是Couple ...
- 洛谷 P3636 曲面
题目背景 xht喜欢研究数学函数,他特别喜欢反比例函数. 题目描述 我们知道,反比例函数xy=a的图象是双曲线. xht于是想:把它推广到三维是什么样的呢? 定义曲面C(k)为方程xyz=k所确定的曲 ...
- 八. 输入输出(IO)操作4.面向字节的输入输出流
字节流以字节为传输单位,用来读写8位的数据,除了能够处理纯文本文件之外,还能用来处理二进制文件的数据.InputStream类和OutputStream类是所有字节流的父类. InputStream类 ...
- Laravel 使用firstOrCreate 报错MassAssignmentException
今天尝试使用firstOrCreate去优化一段查找不到即创建的代码,结果发现会报MassAssignmentException错误,提示我参数错误,去网上找了好久没有找到结果,最后庆幸自己解决了,把 ...
- INFORMATION_SCHEMA获取数据库的信息
简介 information_schema这张数据表保存了MySQL服务器所有数据库的信息.如数据库名,数据库的表,表栏的数据类型与访问权限等.再简单点,这台mysql服务器上,到底有哪些数据库.各个 ...
- .Net解析html文档类库HtmlAgilityPack完整使用说明
在前几篇文章中([搜房网房产数据采集程序demo--GeckoWebBrowser实例] )都有提到一个解析html的C#类库HtmlAgilityPack, 今天终于有时间整理一下,并把Demo分享 ...
- jQuery插件开发 总结
一般来说,jQuery插件的开发分为两种:一种是挂在jQuery命名空间下的全局函数,也可称为静态方法:另一种是jQuery对象级别的方法,即挂在jQuery原型下的方法,这样通过选择器获取的jQue ...
- ostu进行遥感图像的分割
城市地区道路网的简单的阈值分割.采用的是单ostu(最佳阈值分割)算法,废话少说,如果不太清楚该算法,请参考文献[1]中的图像分割这一章的介绍.程序直接运行的效果如下.