Sun Java System Portal Server 7.2 Command-Line Reference

upload-theme

The upload-theme subcommand creates a new theme for the given portal.

Long-Named Format

psadmin upload-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --file theme_file [--menucontrol]

Short-Named Format

psadmin upload-theme -u uid [-f passwordfile] -p portalName --file theme_file [--menucontrol]

Options

These are the list of options available for the upload-theme subcommand. The following five options are required:

[--adminuser | -u] uid

Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.

[--portal | -p] portalName

Specifies the portal name.

--file theme-file

Specifies the .skin file that contains theme related sources.

The following two options are optional:

[--passwordfile | -f] passwordFile

Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.

--menucontrol

Use this flag if the theme uses menu control for channels or portlets.

Example

./psadmin upload-theme -u amadmin [-f passwordFile] -p portal1 --file x.skin