updateSite.oxygen files

Post here questions and problems related to oXygen frameworks/document types.
martindholmes
Posts: 107
Location: Victoria, BC, Canada

updateSite.oxygen files

Fri Jan 30, 2015 9:05 pm

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: 645

Re: updateSite.oxygen files

Mon Feb 02, 2015 2:58 pm

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: 107
Location: Victoria, BC, Canada

Re: updateSite.oxygen files

Tue Feb 03, 2015 7:40 pm

Works great! Thanks.

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 2 guests