[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cross-project-issues-dev] How to get update site to show up in available site list?
|
The first step to them being listed in the common repository, is to have them listed in your own project repository first. The aggregator, for Indigo, simply copies them all over (with some modest filtering). (FYI, for Juno, we plan to leave them all out (see bug 358415), and you should add them in your "linux tools" EPP package.)
In your content.jar/xml you should see a "references" element. Here's what it looks like for CDT:
<references size='4'>
<repository uri='http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/releases/0.4.0' url='' type='1' options='0'/>
<repository uri='http://download.eclipse.org/tools/cdt/releases/indigo' url='' type='0' options='0'/>
<repository uri='http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/releases/0.4.0' url='' type='0' options='0'/>
<repository uri='http://download.eclipse.org/tools/cdt/releases/indigo' url='' type='1' options='0'/>
</references>
Now, I am sure, your next question is how do I get them from my feature.xml file, to my project's repository's metadata. That I know less about. I know it is "automatic" for most repository publishers used during PDE build, for example., but honestly, that's about all I know. There might be ways you can add them with p2.inf files, if you don't use the "standard" builders. It is also possible you originally create them during your build, but then through mirroring or aggregating your builds to their final repo the references get lost. The b3 aggregator has explicit options to copy them from one repo to another ... I do not know how to do it with "raw" p2.
Sorry I can not answer your "how to" question directly, but I hope these hints will give you an idea of what to look at next.
Jeff Johnston ---10/27/2011 02:18:48 PM---The Linux tools update site does not show up in the list of available update sites for Indigo SR1.
From: Jeff Johnston <jjohnstn@xxxxxxxxxx>
To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: 10/27/2011 02:18 PM
Subject: [cross-project-issues-dev] How to get update site to show up in available site list?
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx
The Linux tools update site does not show up in the list of available
update sites for Indigo SR1.
The features in Linux tools have the update site specified in the
feature.xml:
<url>
<update label="Linux Tools Update Site"
url="">http://download.eclipse.org/technology/linuxtools/update"/>
</url>
What is needed so Eclipse will add/find the update site automatically as
it seems to do for other projects such as cdt, emf, dtp?
-- Jeff J.
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev