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

Bug 332073

Summary: MPC should be able to use alternate p2 repositories to resolve dependencies
Product: [Technology] MPC Reporter: David Green <greensopinion>
Component: InstallAssignee: Nathan Gervais <nathan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ian.skerrett, mknauer, nathan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip
none
ant script
none
composite repo none

Description David Green CLA 2010-12-07 14:14:16 EST
currently the Helios repository is used
Comment 1 David Green CLA 2011-03-10 12:52:11 EST
Currently this is specified in the catalog descriptor:

bc. 
	<catalog
            description="%catalog.description"
            icon="icons/marketplace32.png"
            label="%catalog.label"
            url="http://marketplace.eclipse.org"
            dependenciesRepository="http://download.eclipse.org/releases/helios">
	</catalog>
      
The @dependenciesRepository@ specifies which repository should be used to resolve dependencies.  The Eclipse Marketplace (server) should provide a composite repository, and the current MPC extension (see attached context) should be modified to point to that repository.  The composite repository could then point to both helios and indigo releases.  The current entry in the plugin.xml should be modified to point to this composite repository.

This is related to bug 328605.
Comment 2 David Green CLA 2011-03-10 12:52:12 EST
Created attachment 190887 [details]
mylyn/context/zip
Comment 3 Benjamin Muskalla CLA 2011-03-12 21:36:35 EST
Created attachment 191071 [details]
ant script

Small ant script to generate the composite repository for helios and indigo. Just in case we ever need to recreate it, but I doubt that.
Comment 4 Benjamin Muskalla CLA 2011-03-12 21:38:45 EST
Created attachment 191072 [details]
composite repo

Actual composite repository.

Nathan, the content of the zip should be hosted on eclipse.org and the dependencyRepository attribute of the Eclipse marketplace should point to that URL as discussed in task 336159
Comment 5 Benjamin Muskalla CLA 2011-04-07 09:33:22 EDT
Nathan, any progress on this?
Comment 6 Nathan Gervais CLA 2011-04-07 10:38:09 EDT
(In reply to comment #5)
> Nathan, any progress on this?

http://marketplace.eclipse.org/repo/ contains the contents of that zip file.

The catalog entry on Marketplace has been updated.

Sorry for draging my heels on this one.
Comment 7 Benjamin Muskalla CLA 2011-04-11 11:39:21 EDT
Great, thanks Nathan.

The new composite repo is in place, the marketplace points to it. I think we're done here.
Comment 8 Nathan Gervais CLA 2011-06-22 11:19:09 EDT
Do i need to update this repo file for the Indigo Release?
Comment 9 Markus Knauer CLA 2011-06-22 11:29:01 EDT
(In reply to comment #8)
> Do i need to update this repo file for the Indigo Release?

It already contains pointers to both repositories, /releases/helios and /releases/indigo. From my point of view there is no need to update this.
Comment 10 Nathan Gervais CLA 2011-06-22 11:33:50 EDT
Ok just making sure, thanks for the clarification.