Eclipse rcp 如何从EclipseGanymede升级到EclipseGalileo?

Eclipse rcp 如何从EclipseGanymede升级到EclipseGalileo?,eclipse-rcp,Eclipse Rcp,我编写了一个RCP应用程序,其中包含我使用Ganymede版本3.4.2创建的许多插件。我想开始使用伽利略。当我尝试从我使用Ganymede创建的工作区执行我的RCP应用程序时,我会遇到如下错误: !SESSION 2009-09-09 10:41:33.907 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_12 java.vendor=Sun Microsys

我编写了一个RCP应用程序,其中包含我使用Ganymede版本3.4.2创建的许多插件。我想开始使用伽利略。当我尝试从我使用Ganymede创建的工作区执行我的RCP应用程序时,我会遇到如下错误:

!SESSION 2009-09-09 10:41:33.907 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.bah.gs.arts.jekyll.product Command-line arguments: -product com.bah.gs.arts.jekyll.product -data C:\Workspace/../runtime-jekyll.product -dev file:C:/Workspace/.metadata/.plugins/org.eclipse.pde.core/jekyll.product/dev.properties -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.equinox.app 0 0 2009-09-09 10:41:35.469 !MESSAGE Product com.bah.gs.arts.jekyll.product could not be found. !ENTRY org.eclipse.osgi 2 0 2009-09-09 10:41:35.500 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-09 10:41:35.500 !MESSAGE Bundle initial@reference:file:../../Common/plugins/org.eclipse.core.databinding_1.2.0.I20090604-2000.jar/ was not resolved. !SUBENTRY 2 org.eclipse.core.databinding 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.observable_[1.2.0,2.0.0). !SUBENTRY 2 org.eclipse.core.databinding 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.property_[1.2.0,2.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-09 10:41:35.500 !MESSAGE Bundle initial@reference:file:../../Common/plugins/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar/ was not resolved. !SUBENTRY 2 org.eclipse.jface.databinding 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.property_[1.2.0,2.0.0). !SUBENTRY 2 org.eclipse.jface.databinding 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.observable_[1.2.0,2.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-09 10:41:35.500 !MESSAGE Bundle initial@reference:file:../../Common/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar/ was not resolved. !SUBENTRY 2 org.eclipse.ui.workbench 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.property_[1.2.0,2.0.0). !SUBENTRY 2 org.eclipse.ui.workbench 2 0 2009-09-09 10:41:35.500 !MESSAGE Missing required bundle org.eclipse.core.databinding.observable_[1.2.0,2.0.0). !会话2009-09-09 10:41:33.907----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_12 java.vendor=太阳微系统公司。 引导加载程序常量:OS=win32,ARCH=x86,WS=win32,NL=en_US 框架参数:-product com.bah.gs.arts.jekyll.product 命令行参数:-product com.bah.gs.arts.jekyll.product-data C:\Workspace//运行时-jekyll.product-dev文件:C:/Workspace/.元数据/.插件/org.eclipse.pde.core/jekyll.product/dev.properties-os win32-ws win32-arch x86 !条目org.eclipse.equinox.app 0 2009-09-09 10:41:35.469 !找不到消息Product com.bah.gs.arts.jekyll.Product。 !条目org.eclipse.osgi202009-09-0910:41:35.500 !消息未解析一个或多个捆绑包,因为未解析以下根约束: !子条目1 org.eclipse.osgi 20 2009-09-09 10:41:35.500 !消息包initial@reference:文件:../../Common/plugins/org.eclipse.core.databinding_1.2.0.I20090604-2000.jar/未解析。 !子条目2 org.eclipse.core.databinding 20 2009-09-09 10:41:35.500 !消息缺少所需的bundle org.eclipse.core.databinding.observable_uz[1.2.0,2.0.0)。 !子条目2 org.eclipse.core.databinding 2 0 2009-09-09 10:41:35.500 !消息缺少所需的bundle org.eclipse.core.databinding.property_389;[1.2.0,2.0.0]。 !子条目1 org.eclipse.osgi 20 2009-09-09 10:41:35.500 !消息包initial@reference:文件:../../Common/plugins/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar/未解析。 !子条目2 org.eclipse.jface.databinding 20 2009-09-09 10:41:35.500 !消息缺少所需的bundle org.eclipse.core.databinding.property_389;[1.2.0,2.0.0]。 !子条目2 org.eclipse.jface.databinding 20 2009-09-09 10:41:35.500 !消息缺少必需的bundle org.eclipse.core.databinding.observable_[1.2.0,2.0.0]。 !子条目1 org.eclipse.osgi 20 2009-09-09 10:41:35.500 !消息包initial@reference:文件:../../Common/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar/未解析。 !子条目2 org.eclipse.ui.workbench 20 2009-09-09 10:41:35.500 !消息缺少所需的bundle org.eclipse.core.databinding.property_389;[1.2.0,2.0.0]。 !子条目2 org.eclipse.ui.workbench 20 2009-09-09 10:41:35.500 !消息缺少必需的bundle org.eclipse.core.databinding.observable_[1.2.0,2.0.0]。
为什么从一个Eclipse版本升级到下一个版本如此痛苦

是否有系统的方法解决上述问题

是否有“最佳实践”升级程序可用

谢谢你的帮助

After trying what VonC suggested I am still experiencing some problems. This is the constraint part of the MANIFEST.MF for the RCP application: Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0";resolution:=optional;visibility:=reexport, org.eclipse.ui;bundle-version="3.5.0";resolution:=optional;visibility:=reexport, org.eclipse.core.expressions;bundle-version="3.4.100";resolution:=optional;visibility:=reexport What is the significance of the "visibility:=reexport" and "resolution:=optional" parameters? Error messages: org.eclipse.core.databinding Missing Constraint:Required-Bundle: org.elclipse.core.databinding.observable;require-version="[1.2.0.2.0.0]" Missing Constraint:Required-Bundle: org.elclipse.core.databinding.property;require-version="[1.2.0.2.0.0]" Same two messages for: org.eclipse.jface.databinding org.eclipse.ui.workbench 尝试了VonC建议的方法后,我仍然遇到一些问题。 这是RCP应用程序MANIFEST.MF的约束部分: Bundle-RequiredExecutionEnvironment:JavaSE-1.6 需要Bundle:org.eclipse.core.runtime;Bundle version=“3.5.0”;分辨率:=可选;可见性:=重新导出, org.eclipse.ui;bundle version=“3.5.0”;分辨率:=可选;可见性:=重新导出, org.eclipse.core.expressions;bundle version=“3.4.100”;分辨率:=可选;可见性:=重新导出 “可见性:=重新导出”和“分辨率:=可选”参数的意义是什么? 错误消息: org.eclipse.core.databinding 缺少约束:必需的Bundle:org.elclipse.core.databinding.observable;必需版本=“[1.2.0.2.0.0]” 缺少约束:必需的Bundle:org.elclipse.core.databinding.property;必需版本=“[1.2.0.2.0.0]” 相同的两条消息用于: org.eclipse.jface.databinding org.eclipse.ui.workbench
您列出的错误表示Galileo没有看到Ganymede和您的程序正在使用的所有插件和库。很抱歉,下面没有回答。您的替代方案是摆弄Galileo,直到它看到您的所有库和插件

我要做的是并排安装Galileo Ganymede并一次在一个上面移植应用程序。我假设您在Windows下工作,但我在这里列出的技术也适用于Linux

首先,从理论上讲,从Ganymede升级到Galileo所要做的就是在Ganymede上安装Galileo。相信吗?很好。我也不相信。因此,浏览Ganymede并记下您安装了哪些插件。然后将Galileo安装在单独的目录中。将新安装指向Java VM。然后安装所有插件。这是您的选择你怎么做到的

最后,我要区分项目中的源代码和元代码。在Galileo下创建一个新项目,只移动源代码。让Galileo重新构建元代码

现在,下次如何避免所有这些痛苦:版本控制。CVS,SVN,git…无论您使用什么。Eclipse有一个支持所有这些的插件。然后,下一次升级,只需在新的Eclipse安装中将源代码导入到一个项目中。痛苦要小得多,您就可以更好地控制源代码


祝你好运。

我正在使用eclipse开发Java、Python和PHP代码。在我想升级到Galileo之前,我一直在使用Ganymede来完成这一切。升级非常简单。以下是我遵循的步骤:

  • 将工作区备份到卸载Ganymede不会影响它的地方
  • 将所有软件站点复制到文本文件中,并将该文本文件与工作区一起备份
  • 卸载Ganymede
  • 安装伽利略
  • 在我的例子中,工作区没有被改变,我把伽利略指向同一个工作区,所以我所有的项目和文件都在那里
  • 从文本文件中注明的更新站点更新Galileo中的所有插件和扩展
  • 在这一点上,我遇到了一些麻烦,因为插件的过时版本/插件与Ganymede和Galileo的不兼容问题