Combine/aggregate eclipse p2 repositories / extendable p2 repository

后端 未结 1 1744
时光取名叫无心
时光取名叫无心 2020-12-13 22:01

With maven/tycho build for Nodeclipse Eclipse plugin there is new p2 repository every release.

Release is done on Bintray that does not allow to update files. So eve

1条回答
  •  攒了一身酷
    2020-12-13 22:25

    What you are looking for is a composite p2 repository. You'll just need the following two files in the base folder:

    • A compositeContent.xml with the following content:

      
      
      
          
              
          
          
              
              
              
          
      
      
    • A compositeArtifacts.xml with the following, similar content:

      
      
      
          
          
          
              
              
              
          
      
      

    When a new version is released, just add the new folder as child in both files.

    The two files may also be compressed as ZIP and named compositeContent.jar and compositeArtifacts.jar to save network bandwidth. However this makes editing the files a little less practical.

    The Eclipse simultaneous release repositories also use this approach. E.g., at the time of writing this, the Eclipse Luna repository contains only the original release and SR 1 (see compositeContent, compositeArtifacts). SR 2 will be added later, so that users will be able to get updates without having to configure a new repository URL.

    0 讨论(0)
提交回复
热议问题