Sun Java System Portal Server 7 Command-Line Reference

DPMapping.properties File

The following describes properties in the DPMapping.properties file:

dpnode

The display profile root dn. The value of dpnode can be a dn, or defaultOrganization. If dpnode is not defined, the default organization dn will be assumed.

name

The dn relative to the dpnode, then dpnode. For example, "o=org1,dpnode".


Example 19–1 This example shows how the DPMapping.properties file is used. For example, under the /dp directory, there are the following files:


dp/
		global-base.xml, global-desktop.xml, global-map.xml,...
		node1.xml, node1-default.xml,...
		node2-default.xml, node2-eng.xml
		node3.properties
		DPMapping.properties

In DPMapping.properties file, it has:


dpnode=dc=red,dc=iplanet,dc=com
node1=dpnode
node2=cn=eng,dpnode
node3=cn=sales,dpnode

The psadmin create-par command will combine the display profile snippets for all files with the same name before the - into one display profile. In the above example, the end PAR file has:


dp/
		global.xml
		node1.xml
		node2.xml
		node3.properties

The dn mapping will be stored in the PAR manifest file like this:


META-INF
		MANIFEST.MF:
		Manifest-Version: V1.0
		...
		
		PS-DP-DOCS:global.xml,node1.xml,node2.xml
		PS-Attributes-Properties:node3.properties
		PS-AutoExtract: dpnode=dc%3Dred%2Cdc%3Diplanet%2Cdc%3Dcom,entry=global,
    node1=dpnode,node2=cn%3Deng%2Cdpnode,node3=cn%3Dsales%2Cdpnode