updateSite.oxygen files

Post here questions and problems related to oXygen frameworks/document types.
martindholmes
Posts: 190
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

updateSite.oxygen files

Post by martindholmes »

Hi there,

I'm creating a setup for building testing versions of the TEI frameworks plugin on our Jenkins CI server, so that TEI Council members can subscribe to a regularly-updated version of the plugin built with the development versions of our Stylesheets and P5 source code. This involves providing an update file (updateSite.oxygen) something like our regular one (http://www.tei-c.org/release/oxygen/updateSite.oxygen). I have heard that it's possible to include multiple versions of the plugin in a single updateSite.oxygen file, so that if something is wrong with a particular version of the plugin, you can roll back to a previous version, but I can't find any documentation on how to do that. Could someone provide an example or a pointer to documentation?

Thanks,
Martin
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: updateSite.oxygen files

Post by alex_jitianu »

Hello Martin,

To include multiple versions you must add multiple extension elements, each one having the same ID but a different version:

Code: Select all


<xt:extension id="tei">
<xt:location href="teioxygen-2.7.0-7.29.0.zip"/>
<xt:version>2.7.2</xt:version>
......
</xt:extension>

<xt:extension id="tei">
<xt:location href="teioxygen-2.7.3-7.29.0.zip"/>
<xt:version>2.7.3</xt:version>
......
</xt:extension>
We also have to automatically pack different versions of a plugin in the same update site. In our case each version sits in a dedicated sub-folder and we automatically generate the update site by using xi:include.

Best regards,
Alex
martindholmes
Posts: 190
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: updateSite.oxygen files

Post by martindholmes »

Works great! Thanks.
Post Reply