summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/updatesite/README
blob: e839164615838379e417c859f61c953a6252b04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Apache Tuscany Update Site:
---------------------------
The Apache Tuscany Eclipse update site is located under http://tuscany.apache.org/updatesite.
It is based on the Apache Directory Studio update site, with minimal changes.

The Tuscany update site consists of the following files:

 +--tuscany.apache.org
    |
    +--updatesite
       |
       +--README (this file)
       +--java
          |
          +--sca
             |
             +--1.6.2 (and later releases)
                |
                +--.htaccess
                +--index.html
                +--LICENSE
                +--NOTICE
                +--site--xml.html
                +--site--xml.cgi
                +--web
                   |
                   +--site.css
                   +--site.xsl

The update manager of Eclipse and the RCP application automatically tries to 
access the site.xml to get new updates or features. Our .htaccess contains
a rewrite rule to forward from site.xml to site--xml.cgi.

The site--xml.cgi just calls Apache's mirrors.cgi to get a list of available
mirrors.

The site--xml.html is a template of the real site.xml. The url of the 
preferred mirror determined by the cgi script is applied to this template.

With this trick the update manager always gets a URL to another mirror.
The update manager loads the features and plugins from these mirrors. So
the mirrors must contain the features and the plugins directories.