| Summary: | wrong p2.mirrorsURL | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Bros <nicolas.bros> |
| Component: | Main | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | gdupe, hugo.bruneliere, modisco.web-inbox |
| Version: | 0.9.0 | Flags: | gdupe:
juno+
|
| Target Milestone: | 0.10.0 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nicolas Bros
To fix this, I think this bit of XML should be updated in each feature.xml:
<url>
<update label="%ModelingUpdateSiteName" url="http://www.eclipse.org/modeling/updates/"/>
</url>
(In reply to comment #1) > To fix this, I think this bit of XML should be updated in each feature.xml: > <url> > <update label="%ModelingUpdateSiteName" > url="http://www.eclipse.org/modeling/updates/"/> > </url> -1 because http://www.eclipse.org/downloads/download.php?file=/modeling/mdt/modisco/updates/release/0.8.0/&format=xml&protocol=http is not an update site. (In reply to comment #2) > -1 because > http://www.eclipse.org/downloads/download.php?file=/modeling/mdt/modisco/updates/release/0.8.0/&format=xml&protocol=http > is not an update site. It is indeed not an update site, but p2 must be able to understand it anyway, since Eclipse platform specifies it this way. See for example: http://download.eclipse.org/eclipse/updates/3.6/R-3.6.2-201102101200/artifacts.jar This is also documented here: http://wiki.eclipse.org/IT_Infrastructure_Doc#Enable_mirrors_.2F_use_mirrorsURL_for_my_p2_repo.3F I added the generation of the "p2.mirrorsURL" properties in the XSLT transformation that is run during the promote. I also removed the discovery & update site definitions from all feature.xml to avoid generating wrong "p2.mirrorsURL"s (resulting in duplicated properties in the metadata). Bug solved. |