Suppose that some project requires similar configuration settings, specific stylesheets, schemas, catalogs, Serna views or other files for a number of Serna installations in an enterprise. It is possible to develop an enterprise configuration settings package, and easily apply them to any Serna installation.
Here are quick-start examples:
See example Catalog File Sharing through ECS Package. See example Serna View Files Sharing through ECS Package.
To learn more about the enterprise configuration settings package, see ECS Package, Configuration Template/Update and Other Files for ECS Package.
For instructions on how to manage enterprise configuration package, see How to Manage ECS Package.
Suppose we want to add a new catalog file to the Serna installations for the project Foo. For this we create a directory foo_package with the two files:
foo_package/ config-update.xml xml/ foo-catalog.xml
<serna-config><xml-catalogs><files>foo-catalog.xml:$$SERNA_XML/catalog.xml</files></xml-catalogs></serna-config>
After applying this package Serna installation will be affected in the following way:
There will be a new file foo-catalog.xml in directory sernaInstallationPath/xml.
Serna XML catalog list will be changed to: foo-catalog.xml:$SERNA_XML/catalog.xml (See
for Serna catalog list settings).The foo-catalog.xml is the XML catalog for project Foo, while config-update.xml contains the changes to the Serna configuration.
Now, to apply the configuration package follow the instructions in Applying Enterprise Configuration Settings.
Here is an instruction on how to distribute a changed template (e.g. DITA) using ECS approach.
You have already created buttons on the toolbar and saved view for all necessary dita templates.
Steps (create ECS Package):
Create the following directory structure: Package/plugins/dita.
Go to the .serna-3.2 folder: c:\Documents and Settings\YOUR_LOGIN\.serna-3.2\.
Copy all oasis-dita-* files into .../Package/plugins/dita folder.
Your ECS package is ready.
Steps (apply ECS Package on another Serna installation):
Install Serna.
Run it and go to
, select tab.In
provide the path to the Package directory.Click
.Restart Serna to see your buttons on the toolbar.