The Repository Loader manifest file is fairly simple. It uses the following XML elements:
manifest Tag
A <manifest>
tag wraps the entire manifest. It contains one or more of the following child tags:
<add>
<remove>
<update>
The add
, remove
, and update
tags simply contain in their bodies the pathname of the file or folder to be added, removed, or updated:
<add>/home/Dynamo/RL/sample-data/user001.xml</add>
<update>/home/Dynamo/RL/sample-data/user002.xml</update>
type-mapping Attribute
An add
, remove
, or update
tag can include an attribute named type-mapping
. The value of the type-mapping
attribute is assumed to be the absolute Nucleus path of a component that implements atg.repository.loader.TypeMapping
. If the component can be found and is of the correct class, it will be used to process the file specified in the tag.
num-elements Attribute
A manifest tag can include an attribute named num-elements
. This is an optional attribute that indicates the total number of add
, remove
, and update
elements in the manifest file.