Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandssoladdapp(1M)


NAME

 soladdapp - add an application to the Solstice application registry

SYNOPSIS

 /usr/snadm/bin/soladdapp [-r registry] -n name -i icon -e executable [args]

DESCRIPTION

 

soladdapp adds an application to the Solstice application registry. After it is added, the application is displayed in the Solstice Launcher main window (see solstice(1M)).

OPTIONS

 
-r registry
Define the full path name of the Solstice registry file.
-n name
Define the name of the tool to be registered.
-i icon
Define the full path name of the tool icon.
-e executable
Define the full path name of the tool.
args
Specify any arguments to use with the tool.

When executed without options, soladdapp uses /opt/SUNWadm/etc/.solstice_registry (the default registry path).

RETURN VALUES

 
0
on success
1
on failure
2
if the registry is locked
3
if the entry is a duplicate.

EXAMPLES

 Example 1. A sample display of the soladdapp command.
 

The following adds an application called Disk Manager to the Solstice application registry for display in the Solstice Launcher main window.

 
# soladdapp -r /opt/SUNWadm/etc/.solstice_registry -n "Disk Manager"
-i /opt/SUNWdsk/etc/diskmgr.xpm -e /opt/SUNWdsk/bin/diskmgr

FILES

 
/opt/SUNWadm/etc/.solstice_registry
The default registry path.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWsadml

SEE ALSO

 

soldelapp(1M), solstice(1M), attributes(5)

NOTES

 

Globally registered applications are used by local and remote users sharing the software in a particular /opt directory. They can be added only using soladdapp.


SunOS 5.9Go To TopLast Changed 15 Sep 1995

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.