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:
/usr/sfw/bin/ant -buildfile PortalServer-base/samples/portals/build.xml -Dconfig.location=/tmp/mydir -logfile /tmp/samples.log