Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317711

Summary: Composite task doesn't check <add> elements directly
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal, pwebster
Version: 3.4.2Keywords: polish
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch none

Description Andrew Niefer CLA 2010-06-23 11:04:03 EDT
The composite repository ant task reuses the RepositoryList class to specify children repositories.

The repository list allows specifing a nested list of repos which is supported by the composite task, but it also can just be a repository itself instead of being a list, this is not supported by the task.

This is the difference between using
<p2.composite.repository location="file:/parent">
   <add location="child"/>
</p2.composite.repository>

and
<p2.composite.repository location="file:/parent">
   <add>
      <repository location="child"/>
   </add>
</p2.composite.repository>
Comment 1 Andrew Niefer CLA 2010-06-23 14:28:50 EDT
Created attachment 172540 [details]
patch
Comment 2 Andrew Niefer CLA 2010-06-23 14:29:39 EDT
fixed with attached patch
Comment 3 Pascal Rapicault CLA 2010-06-24 23:25:51 EDT
Do we want to port that to 3.6.1?
Comment 4 Andrew Niefer CLA 2010-06-25 10:04:21 EDT
We could release this to 3.6.1.  It is really a polish item.