【问题标题】:Where do I find the eclEmma dependencies?我在哪里可以找到 eclEmma 依赖项?
【发布时间】:2013-01-24 01:28:38
【问题描述】:

我正在尝试在我的 eclipse Juno 安装中安装 eclEmma。

当我通过“安装新软件”安装时,eclipse 计算依赖关系,要求我接受许可证,然后产生此错误:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.mountainminds.eclemma.asm,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.core,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.debug.ui.compatibility,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.doc,2.2.0.201210261515
No repository found containing: org.eclipse.update.feature,com.mountainminds.eclemma.feature,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.ui,2.2.0.201210261515
No repository found containing: osgi.bundle,org.jacoco.agent,0.6.0.201210061924
No repository found containing: osgi.bundle,org.jacoco.core,0.6.0.201210061924
No repository found containing: osgi.bundle,org.jacoco.report,0.6.0.201210061924

如果我去市场,我会得到

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No artifact repository available.
noArtifactRepositoriesAvailable

选择要安装的内容后不久。

问题:我能做些什么来解决这个问题?我需要其他更新站点吗?

注意:我刚刚安装了 MoreUnit,所以互联网连接似乎很好。

【问题讨论】:

    标签: eclipse plugins installation eclemma


    【解决方案1】:

    我遇到了同样的问题,网站上描述的手动安装 eclemma 不起作用。这就是我所做的(在 4.3 Kepler 上)。

    打开 eclemma-2.2.1.zip。 转到功能子目录。 在 eclipse/feature 目录中,使用 zip 文件的 feature 子目录中的 jar 名称创建一个目录(不带 jar 后缀)。 现在打开 jar 并将其内容复制到这个新创建的目录中。

    完成后应该如下所示:

    ./eclipse/features/com.mountainminds.eclemma.feature_2.2.1.201306092145/
                       |-META-INF
                       |-about.html
                       |-feature.properties
                       |-feature.xml
    

    然后将 jar 从 zip 中的 plugins 目录复制到 eclipse 安装的 plugins 目录中:

    ./eclipse/plugins/
              |-com.mountainminds.eclemma.asm_2.2.1.201306092145.jar
              |-com.mountainminds.eclemma.core_2.2.1.201306092145.jar
              |-com.mountainminds.eclemma.debug.ui.compatibility_2.2.1.201306092145.jar
              |-com.mountainminds.eclemma.doc_2.2.1.201306092145.jar
              |-com.mountainminds.eclemma.ui_2.2.1.201306092145.jar
              |-org.jacoco.agent_0.6.3.201306030806.jar
              |-org.jacoco.core_0.6.3.201306030806.jar
              |-org.jacoco.report_0.6.3.201306030806.jar
    

    启动 eclipse 并且覆盖启动器应该可见并且覆盖应该工作。

    【讨论】:

    • 为我工作!安装在适用于 Windows 的 Kepler Eclipse 上。非常感谢。
    【解决方案2】:

    通过 Marketplace(选项 1)和更新站点(选项 2)安装对我来说也不起作用。

    我是用

    安装的

    Option 3: Manual Download and Installation

    【讨论】:

    • 有没有人设法克服这个问题?我已经尝试从 EclEmma 网站和 EclEmma Groups 中提到的 github repo 手动下载和安装。
    • Eclemma 手动安装对我来说失败。在 Windows 的 Kepler Eclipse 上试过。
    【解决方案3】:

    我尝试按照official documentation 手动安装,但它对我不起作用。

    选项 3:手动下载和安装

    如需手动安装,请下载最新的 EclEmma 版本。将存档解压缩到 Eclipse 安装的 dropins 文件夹中,然后重新启动 Eclipse:

    <your eclipse installation>/
    +- dropins/
       +- eclemma-x.y.z/
          +- plugins/
          |  +- ...
          +- feature/
             +- ...
    

    而不是直接将提取的 zip 文件放入 dropins 文件夹。我已经复制了 features 和 plugins 文件夹中可用的所有 jar 文件,并分别手动粘贴到 eclipse 根文件夹下的相同 features 和 plugin 文件夹中。现在它开始工作了。

    解决方案:

    <your eclipse installation>/
       +- plugins/
       |  +- com.mountainminds.eclemma.asm_2.3.3.201602231923
       |  +- com.mountainminds.eclemma.core_2.3.3.201602231923
       |  +- com.mountainminds.eclemma.debug.ui.compatibility_2.3.3.201602231923
       |  +- com.mountainminds.eclemma.doc_2.3.3.201602231923
       |  +- com.mountainminds.eclemma.ui_2.3.3.201602231923
       |  +- org.jacoco.agent_0.7.6.201602180812
       |  +- org.jacoco.core_0.7.6.201602180812
       |  +- org.jacoco.report_0.7.6.201602180812
       +- feature/
          +- com.mountainminds.eclemma.feature_2.3.3.201602231923
    

    【讨论】:

      猜你喜欢
      • 2017-06-12
      • 2011-10-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-07
      • 2016-03-04
      • 2015-08-20
      • 1970-01-01
      相关资源
      最近更新 更多