1

我正在使用文档

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm

我正在尝试设置这样的构建文件

<?xml version="1.0" encoding="UTF-8"?><project name="osgi.composite.p2">
  <target name="osgi.composite.p2">
    <p2.composite.repository>
      <repository append="false" location="/d01/osgi/DS_5000_10_0_0" name="DS_5000_10_0_0 Composite"/>
      <add>
        <repository location="DS_5000_10_0_0.HEAD.1308021100.8500"/>
        <repository location="thirdparty"/>
        <repository location="e4"/>
        <repository location="../nebula/"/>
        <repository location="../integration/FUSION_DS_5000_8_3_0_SSO/"/>
      </add>
    </p2.composite.repository>
  </target>
</project>

通过运行覆盖 P2 复合索引

/d01/sandboxes/baron/eclipse/4.3/eclipse -nosplash -application org.eclipse.ant.core.antRunner -buildfile composite.p2-8500.xml osgi.composite.p2

而不是创建一个新的复合索引,而是将构建文件中列出的新条目附加到compositeContent.jar,但正确替换compositeArtifacts.jar 中的条目。

4

0 回答 0