| Summary: | [releng] Add p2.index files to RAP repos | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Beyhan Veliev <beyhan.veliev> | ||||||||||
| Component: | Releng | Assignee: | Project Inbox <rap-inbox> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P3 | ||||||||||||
| Version: | 1.5 | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Beyhan Veliev
Created attachment 197794 [details]
p2 index file
This p2.index file is for a p2-repository which has the metadata in jarred form (content.jar, artifacts.jar)
Created attachment 197795 [details]
p2 index file for a composite repository
This p2.index file is for a composite p2-repository which has the metadata i xml form (compositeContent.xml and compositeArtifacts.xml)
Beyhan, where do you got these examples from? The wiki page [1] suggests a slightly different syntax. The p2.index files are also being discussed in bug 347448. [1] http://wiki.eclipse.org/Equinox/p2/p2_index (In reply to comment #3) > Beyhan, where do you got these examples from? The wiki page [1] suggests a > slightly different syntax. > The p2.index files are also being discussed in bug 347448. > > [1] http://wiki.eclipse.org/Equinox/p2/p2_index I took them from the wiki page [1]. As it seems the examples were wrong and someone corrected them now. I didn't test them because the effort for a local set up is too high. Anyway, I'll updated them. Created attachment 199115 [details]
updated p2 index file
Created attachment 199116 [details]
updated p2 index file for a composite repository
We do this for all our p2 repositories since many releases. Since 3.0 we create .xz compressed files in addition to the old .jar files (e.g. content.jar and content.xml.xz). These files are referenced in the p2.index file like this: version=1 metadata.repository.factory.order= content.xml.xz,content.xml,! artifact.repository.factory.order= artifacts.xml.xz,artifacts.xml,! Closing this bug now. |