[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
FW: [mylar-dev] 1.0.0 preview builds
|
Here’s an email from Eugene
on update site options related to:
166733: Mylar update site should link to
companion update sites
https://bugs.eclipse.org/bugs/show_bug.cgi?id=166733
From: Eugene
Kuleshov [mailto:eu@xxxxxxxxxx]
Sent: Friday, December 08, 2006 11:15 PM
To: Mik Kersten
Subject: Re: [mylar-dev] 1.0.0
preview builds
...
Option 1 (will
scan all companion sites, but maybe that is not too bad). Use associateSitesURL
(note it has to be full url due to stupid bug in update manager)
<site associateSitesURL="http://localhost:8081/site/associates.xml">
<description url=""
href="http://download.eclipse.org/technology/mylar/update-site/e3.3">"http://download.eclipse.org/technology/mylar/update-site/e3.3">
Mylar update site for Eclipse 3.3
</description>
...
Then update site would look like this (note that it looks like
Subversive folks didn't put requirements for their Maven plugin, it allow to
install it without Subversive):

Option 2 (will break if plugin versions will be updated). Use hard coded
links to features, similar to jira core services:
<feature url=""
href="http://subclipse.tigris.org/update_1.2.x/features/org.tigris.subversion.subclipse.mylar_1.0.1.jar">"http://subclipse.tigris.org/update_1.2.x/features/org.tigris.subversion.subclipse.mylar_1.0.1.jar"
id="org.tigris.subversion.subclipse.mylar"
version="1.0.1">
<category name="Team Integration
(External)"/>
</feature>
<feature url=""
href="http://polarion.org/projects/subversive/download/1.1/update-site/features/org.polarion.team.svn.mylar_1.0.4.jar">"http://polarion.org/projects/subversive/download/1.1/update-site/features/org.polarion.team.svn.mylar_1.0.4.jar"
id="org.polarion.team.svn.mylar" version="1.0.4">
<category name="Team Integration
(External)"/>
</feature>
<archive
path="plugins/org.tigris.subversion.subclipse.mylar-1.0.1.jar" url=""
href="http://subclipse.tigris.org/update_1.2.x/plugins/org.tigris.subversion.subclipse.mylar-1.0.1.jar">"http://subclipse.tigris.org/update_1.2.x/plugins/org.tigris.subversion.subclipse.mylar-1.0.1.jar"/>
<archive
path="plugins/org.polarion.team.svn.mylar-1.0.4.jar" url=""
href="http://polarion.org/projects/subversive/download/1.1/update-site/plugins/org.polarion.team.svn.mylar-1.0.4.jar">"http://polarion.org/projects/subversive/download/1.1/update-site/plugins/org.polarion.team.svn.mylar-1.0.4.jar"/>

Option 3 (does not work). Use discovery sites in feature manifest:
...
<url>
<update label="Mylar for Eclipse
3.3" url=""
href="http://download.eclipse.org/technology/mylar/update-site/e3.3">"http://download.eclipse.org/technology/mylar/update-site/e3.3"/>
<discovery label="Subclipse" url=""
href="http://subclipse.tigris.org/update_1.2.x/site.xml">"http://subclipse.tigris.org/update_1.2.x/site.xml"/>
<discovery label="Subversive" url=""
href="http://www.polarion.org/projects/subversive/download/1.1/update-site/site.xml">"http://www.polarion.org/projects/subversive/download/1.1/update-site/site.xml"/>
</url>
...
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<associateSites>
<associateSite label="Subclipse" url="http://subclipse.tigris.org/update_1.2.x/site.xml"/>
<associateSite label="Subversive" url="http://www.polarion.org/projects/subversive/download/1.1/update-site/site.xml"/>
</associateSites>