简体   繁体   English

无法在Eclipse JUNO上安装Jet插件

[英]unable to install jet plugin on eclipse JUNO

hello guys i tried to download Jet as an EMF Component but it doesn't work , so i tried to download an archived update 大家好,我尝试下载Jet作为EMF组件,但是它不起作用,所以我尝试下载存档更新

i get the following error : 我收到以下错误:

An error occurred while collecting items to be installed session context was:(profile=epp.package.modeling, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 收集要安装的项目的会话上下文时发生错误:(profile = epp.package.modeling,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect,operationnd =,action =)。 Problems downloading artifact: osgi.bundle,org.eclipse.jet,1.1.1.v201101311015. 下载工件时出现问题:osgi.bundle,org.eclipse.jet,1.1.1.v201101311015。 MD5 hash is not as expected. MD5哈希值不符合预期。 Expected: 5bb513bb6cc5dcc936ddb22aebcd0af4 and found 9e831f7e6d7532b3afd6bc76c48885de. 预期:5bb513bb6cc5dcc936ddb22aebcd0af4,发现9e831f7e6d7532b3afd6bc76c48885de。

After some trying, I found a way that works, at least for me. 经过一番尝试,我发现了一种可行的方法,至少对我而言。

As noted in the bug report , the latest version of Eclipse JET requires UML2 in a version strictly below 4.0.0. 错误报告中所述, Eclipse JET的最新版本要求UML2的版本严格低于4.0.0。 The Version that comes with Juno is 4.0.1., so Eclipse will refuse to install. Juno随附的版本是4.0.1,因此Eclipse将拒绝安装。 Similarly, UML2 3.1.2 (the latest version available below 4.0.0) requires EMF in a version below 2.7, while Juno's version is 2.8, so this won't install either. 同样,UML2 3.1.2(低于4.0.0的最新版本)要求EMF的版本低于2.7,而Juno的版本为2.8,因此也不会安装。

However, note that UML2, version 3.1.2, is also available in editions other than the update site. 但是,请注意,除了更新站点之外,其他版本也提供UML2版本3.1.2。 You can download the mdt-uml2-SDK-3.1.2.zip , unzip the archive, and simply merge the features and plugins folders into you Eclipse installation, thus circumventing Eclipse being picky about the version numbers. 您可以下载mdt-uml2-SDK-3.1.2.zip ,解压缩归档文件,然后简单地将featuresplugins文件夹合并到您的Eclipse安装中,从而避免Eclipse对版本号挑剔。

Step by step: 一步步:

  1. install Eclipse Juno, install other features (EMF, SVN, etc.), exit Eclipse 安装Eclipse Juno,安装其他功能(EMF,SVN等),退出Eclipse
  2. (optionally, create a backup, in case something goes wrong) (可选地,创建备份,以防出现问题)
  3. get mdt-uml2-SDK-3.1.2.zip , and merge its features and plugins into your Eclipse installation 获得mdt-uml2-SDK-3.1.2.zip ,并将其featuresplugins合并到您的Eclipse安装中
  4. get the JET 1.1.1 Update Site , and install JET via Eclipse's install mechanisms 获得JET 1.1.1更新站点 ,并通过Eclipse的安装机制安装JET

As far as I've tested, everything seems to work. 据我测试,一切似乎正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM