使用 Eclipse UI 运行插件更新
我正在尝试从命令行更新 Eclipse Galileo SR2 安装的插件。
类似于此命令(要求特定功能):
java -jar org.eclipse.equinox.launcher_*.jar -application org.eclipse.update.core.standaloneUpdate -command update
有谁知道是否存在使用 p2 或任何其他 Eclipse 应用程序运行器的命令?
I'm trying to update the plugins for an Eclipse Galileo SR2 installation from the command line.
Something similar to this command (which asks for a specific feature):
java -jar org.eclipse.equinox.launcher_*.jar -application org.eclipse.update.core.standaloneUpdate -command update
Does anyone know if a command exists using p2 or any other Eclipse application runner?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够使用以下命令将 Eclipse Classic Galileo 从 SR1 升级到 SR2:
org.eclipse .sdk.ide
将取决于您具体安装的内容。这是经典的 Eclipse SDK。如果您正在运行其他东西,您需要找到根可安装单元 ID。转到帮助 ->关于->安装详情->已安装的软件。查找树的根节点的 id。 “面向 C/C++ 开发人员的 Eclipse IDE”是epp.package.cpp
。 “面向 Java 开发人员的 Eclipse IDE”是epp.package.java
。SDKProfile
还取决于您正在运行的包。检查 config.ini 文件中的 eclipse.p2.profile 属性。I was able to upgrade Eclipse Classic Galileo from SR1 to SR2 using the following command:
org.eclipse.sdk.ide
will depend on what exactly you have installed. Here this is the classic Eclipse SDK. If you are running something else you need to find the root installable unit id. Go to Help -> About -> Installation Details -> Installed Software. Look for the id of the root node of the tree. "Eclipse IDE for C/C++ Developers" isepp.package.cpp
. "Eclipse IDE for Java Developers" isepp.package.java
.SDKProfile
also depends on what package you are running. Check theeclipse.p2.profile
property in your config.ini file.