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

Bug 329036

Summary: P2 seems not to work with associateSites anymore
Product: [Eclipse Project] Equinox Reporter: Claas Wilke <claaswilke>
Component: p2Assignee: Pascal Rapicault <pascal>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: claaswilke, irbull, pascal
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
AssociateSites.xml
none
site.xml that goes along with the associateSites.xml none

Description Claas Wilke CLA 2010-10-29 08:14:04 EDT
Build Identifier: 20100617-1415

Using the assiciateSitesURL attribute of a site.xml did work well until Eclipse 3.6.0 (build-id 20100617-1415). However, using Eclipse 3.6.1 the update manager always results in a "cannot complete request message" although the site.xml and associateSites.xml remained unchanged.

Reproducible: Always

Steps to Reproduce:
1. Use Eclipse Modeling Tools Distribution.
2. Try to install Dresden OCL from http://dresden-ocl.sourceforge.net/downloads/updatesite/
3. Select all features to be installed.
Comment 1 Ian Bull CLA 2010-11-09 19:12:48 EST
I don't know if this is related, but OCL had a problem with its version numbers in 3.6.1 -- See bug 327823.
Comment 2 Claas Wilke CLA 2010-11-10 02:02:25 EST
> I don't know if this is related, but OCL had a problem with its version numbers
> in 3.6.1 -- See bug 327823.

No, since MDT/OCL and Dresden OCL are different products I think there is no connection. But thanks for the comment anyway.(In reply to comment #1)
Comment 3 Claas Wilke CLA 2010-11-10 07:43:07 EST
I figured out, that the problem only occurs, when adding the site's URL without the 'site.xml' at the end of the URL. Anyway, this should work without the site.xml.
Comment 4 Pascal Rapicault CLA 2011-05-05 15:06:03 EDT
Created attachment 194867 [details]
AssociateSites.xml

Despite the complexity of setting this up, the ability to associate site seems to work properly. Here is attached an associateSites.xml file that is used as part of the SiteXMLActionTest.
Comment 5 Pascal Rapicault CLA 2011-05-05 15:06:35 EDT
Created attachment 194868 [details]
site.xml that goes along with the associateSites.xml
Comment 6 Pascal Rapicault CLA 2011-05-05 15:06:48 EDT
Closing