Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316921 - Need artifact repository entities in the p2 ecore model
Summary: Need artifact repository entities in the p2 ecore model
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Thomas Hallgren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 11:06 EDT by Thomas Hallgren CLA
Modified: 2017-09-13 11:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hallgren CLA 2010-06-15 11:06:35 EDT
The p2 ecore model is missing IArtifactDescriptor and IArtifactRepository.
Comment 1 Thomas Hallgren CLA 2010-06-17 10:19:22 EDT
The model now contains everything needed to load a SimpleArtifactRepository.

IRepository
  |- Repository
  |- IAritfactRepository
        |- ArtifactRepository
        |- IFileArtifactRepository
             |- SimpleArtifactRepository

IArtifactDescriptor
  |- ArtifactDescriptor
       |- SimpleArtifactDescriptor

MappingRule (for SimpleArtifactRepository rules).

The inheritance for the MetadataRepository was changed so that it now shares a common Repository implementation with the ArtifactRepository.

All functionality except actually dealing with artifacts (i.e. OutputStreams and Files) was implemented so the repository is queryable.

I also added tests for the new classes in the org.eclipse.b3.p2.tests bundle.