代码之家  ›  专栏  ›  技术社区  ›  uminder

包在目标平台2023-12中消失

  •  0
  • uminder  · 技术社区  · 1 年前

    我的Eclipse RCP应用程序当前使用 Target Platform 2023-09 ,在中定义 2023-09.target 文件如下:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <?pde version="3.8"?>
    <target name="Retrospective (2023-09)">
        <locations>
            <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
                <repository location="http://download.eclipse.org/releases/2023-09/"/>
                <unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
                <unit id="org.eclipse.platform.sdk" version="0.0.0"/>
            </location>
        </locations>
    </target>
    

    现在我尝试升级到最近发布的 Target Platform 2023-12 并创建 2023-12.target 下面是:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <?pde version="3.8"?>
    <target name="Retrospective (2023-12)">
        <locations>
            <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
                <repository location="http://download.eclipse.org/releases/2023-12/"/>
                <unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
                <unit id="org.eclipse.platform" version="0.0.0"/>
            </location>
        </locations>
    </target>
    

    加载此新定义后,无法再找到以下包中的类。

    • org.eclipse.core.databinding.beans.*
    • org.eclipse.jface.text.*

    不知道这些类是被移到了不同的包中,还是被完全删除了。我也找不到任何有助于这个主题的变更日志。

    1 回复  |  直到 1 年前
        1
  •  1
  •   greg-449    1 年前

    我用过

    <unit id="org.eclipse.sdk.feature.group" version="4.30.0.v20231201-0512"/>
    

    而不是 org.eclipse.platform

    对于 org.eclipse.jface.text 我把它放在 feature.xml 为了我自己的密码,第谷找到了。