create skinBundle

Creates a skin bundle from an XML description and a structured directory of files.

See Also

"Search Interface Customization: Skin Bundles"

Syntax

create skinBundle --NAME=object_name --INPUT_FILE=xml_filename --ATTACHMENT_LIST=list_filename

or

create searchAttr -n object_name -i xml_filename -h list_filename

Parameters

object_name

Content of a <search:name> element in the XML document.

xml_filename

Path to the XML document that defines the object. See skinBundle.

list_filename

Path to the text file that lists the files in the skin bundle. See the Notes.

Notes

To identify the location of the files composing the skin bundle, create a text file with a line for each file in this format:

resource_name::local_file_path

Where:

resource_name identifies the location of the file in the skin bundle. Use this resource name in the XML description of the skin bundle.

local_file_path is the fully qualified name of the file.

For example:

templates/query.ftl::/scratch/skins/Holiday/templates/query.ftl
assets/images/logo.gif::/scratch/skins/Holiday/assets/images/logo.gif

Example

This example creates the acme skin bundle from the description in skins.xml and the files identified in skins/resources.lst:

SES>create skinBundle --NAME=acme --INPUT_FILE=skins.xml --ATTACHMENT_LIST=skins/resources.lst
 
The object "[name=acme]" was successfully created.