目标定义使用Orbit源包,但不提取Tycho构建中的二进制文件

问题描述

目标定义的摘录:

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="Installableunit">
    <repository location="https://download.eclipse.org/tools/orbit/downloads/drops/R20200529191137/repository"/>
    <unit id="org.junit" version="0.0.0"/>
    <unit id="javax.xml.soap" version="0.0.0"/>
    <unit id="javax.xml.ws" version="0.0.0"/>
    <unit id="javax.xml.bind" version="0.0.0"/>
    <unit id="javax.jws" version="0.0.0"/>
    <unit id="javax.activation" version="0.0.0"/>
</location>

在Eclipse中重新加载目标平台后,所有编译器错误均得到解决。看来一切都已正确加载。

但是,在运行Tycho构建时,将下载javax.jws.source捆绑软件,并且编译操作失败。

[INFO] Resolving dependencies of MavenProject: com.grubra.atf.tycho:com.grubra.atf.admin.grubra:4.0.0-SNAPSHOT @ C:\Users\if12\git\com.grubra.atf.master\bundles\com.grubra.atf.admin
.grubra\.polyglot..meta-inf_MANIFEST.MF
[INFO] Fetching &countryCode=de&timeZone=1&format=xml from http://www.eclipse.org/downloads/download.PHP?format=xml&file=/tools/orbit/downloads/drops/R20191115185527/repository/
[INFO] Fetching javax.jws.source_2.0.0.v201005080400.jar.pack.gz from http://eclipse.c3sl.ufpr.br/tools/orbit/downloads/drops/R20191115185527/repository/plugins/ (13,3kB)
[INFO] Fetching 202003181000&countryCode=de&timeZone=1&format=xml from http://www.eclipse.org/downloads/download.PHP?format=xml&file=/releases/2020-03/
[INFO] Fetching javax.xml.bind_2.2.0.v201105210648.jar.pack.gz from http://download.eclipse.org/releases/2020-03/202003181000/plugins/ (55,41kB)
...
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.0.0:compile (default-compile) on project com.grubra.atf.model: Compilation failure: Compilation failure:
[ERROR] C:\Users\if12\git\com.grubra.atf.master\bundles\com.grubra.atf.model\src\com\grubra\atf\office\IOfficeService_BasicHttpBindingIOfficeService_Client.java:[13]
[ERROR]         import javax.jws.WebMethod;
[ERROR]                ^^^^^^^^^
[ERROR] The import javax.jws cannot be resolved

为什么要下载javax.jws.source而不是二进制文件?下载适用于所有其他捆绑软件。

[Eclipse和Tycho都在Java 11上运行。我正在使用Tycho 2.0.0和Maven 3.6.0]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...