简体   繁体   English

平台运行时和依赖项

[英]Platform runtime and dependencies

Target Platform understanding required and dependencies in eclipse plugin development. 目标平台了解eclipse插件开发中所需的和依赖性。 I am pulling my hair out for the past 3 days. 我在过去的3天里拔头发。

If I specify the following:- 如果我指定以下内容: -

    <repositories>
    <repository>
        <id>eclipse-helios</id>
        <layout>p2</layout>
        <url>http://download.eclipse.org/releases/helios</url>
    </repository>
    </repositories>

1)To me I am making sure my plugin is compatible to run from helios on wards, am I wrong in my thinking? 1)对我来说,我确保我的插件兼容从病房的helios运行,我的想法是错的吗? 2)Should that not have resolved my the platform dependencies? 2)是否应该解决我的平台依赖?

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: plugin1 1.0.0.qualifier
[ERROR]   Missing requirement: plugin1 1.0.0.qualifier requires 
'osgi.bundle; org.eclipse.core.runtime 0.0.0' but it could not be found
[ERROR] 
[ERROR] See 
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for 
help

my manifest file contains:- 我的清单文件包含: -

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Plugin1
Bundle-SymbolicName: plugin1;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: xxx
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui
Automatic-Module-Name: plugin1
Bundle-RequiredExecutionEnvironment: JavaSE-1.8

3) 3) 在此输入图像描述

When I run my plugin it works under helious. 当我运行我的插件时,它运行在helious之下。 Please help me using tycho and maven to achieve this. 请帮助我使用tycho和maven来实现这一目标。 I just don't understand 'eclipse speak' in its help text. 我只是不明白它的帮助文本中的'eclipse speak'。

Someone help me please please Regards, Jemrug 有人请帮助我,请问,Jemrug

Guys I tried in another eclipse workspace and it is all good. 我在另一个eclipse工作区尝试过的人,这一切都很好。 So it was a workspace issue. 所以这是一个工作空间问题。 My only question is how do I do this in standalone mvn as I keep getting the : 我唯一的问题是我如何在独立的mvn中这样做,因为我一直得到:

    mvn clean install

    Cannot resolve project dependencies:
    [ERROR]   Software being installed: plugin1 1.0.0.qualifier
    [ERROR]   Missing requirement: plugin1 1.0.0.qualifier requires 'osgi.bundle; 
    org.eclipse.core.runtime 0.0.0'

So why is all well inside eclipse but not command line I get the above. 那么为什么所有内部日食都很好而不是命令行我得到了上述内容。

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

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