Eclipse Ant任务p2.composite.repository不接受append=false

Eclipse Ant任务p2.composite.repository不接受append=false,eclipse,p2,Eclipse,P2,我正在使用 我正在尝试像这样设置一个构建文件 <?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

我正在使用

我正在尝试像这样设置一个构建文件

<?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>

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

我遇到了同样的问题。作为一种解决方法,我在调用
之前删除了
compositeratifacts.jar
compositeContent.jar
,然后从头开始。
/d01/sandboxes/baron/eclipse/4.3/eclipse -nosplash -application org.eclipse.ant.core.antRunner -buildfile composite.p2-8500.xml osgi.composite.p2