The Developer Sample portal display profile file goes in the o=DeveloperSample,dc=sun,dc=com DN and the display profile file is in PortalServer-base/par-src/developer_sample/dp directory.
Create the default portal PAR file.
For example, typePortalServer-base/bin/psadmin create-par --dir PortalServer-base/par-src/default-portal/ /tmp/default-portal.par
Import the default portal PAR file.
For example, type PortalServer-base/bin/psadmin import -u amadmin -f password-file -p portal1 --overwrite /tmp/default-portal.par.
Copy Developer Sample configuration files to a custom directory.
Copy the template files from PortalServer-base/samples/portals/shared to a custom directory, remove the .template extension, and substitute the tokens in each file. For example, type:
mkdir /tmp/mydir cp /opt/SUNWportal/samples/portals/shared/input.properties.template /tmp/mydir/input.properties cp /opt/SUNWportal/samples/portals/shared/password.properties.template /tmp/mydir/password.properties
Specify values for the input.properties and password.properties files.
Edit the input.properties file and replace all the tokens that begin and end with % with the appropriate Portal Server software settings. Edit the password.properties file and replace all the tokens that begin and end with % with the appropriate administrator password value.
Run ant to install the Developer Sample.
For example, to install the Developer Sample:
On Solaris, type:
export JAVA_HOME=/usr/jdk/entsys-j2se /usr/sfw/bin/ant -buildfile PortalServer-base/samples/portals/developer/build.xml -Dconfig.location PortalServer-DataDir/tmp -logfile PortalServer-DataDir/tmp/dslog.txt
On Linux, type:
export JAVA_HOME=/usr/jdk/entsys-j2se /opt/sun/bin/ant -buildfile PortalServer-base/samples/portals/developer/build.xml -Dconfig.location /var/opt/sun/portal/tmp -logfile /var/opt/SUNWportal/tmp/dslog.txt