Page 1 of 1

updateSite.oxygen files

Posted: Fri Jan 30, 2015 9:05 pm
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

Re: updateSite.oxygen files

Posted: Mon Feb 02, 2015 2:58 pm
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

Re: updateSite.oxygen files

Posted: Tue Feb 03, 2015 7:40 pm
by martindholmes
Works great! Thanks.