/
Admin ServiceGANTT Starting ServiceGANTT

Admin ServiceGANTT Starting ServiceGANTT

ServiceGANTT is started by the user, e.g. from a desktop icon, or from within SERVICEManager (Webstart). It terminates when that user exits from the Gantt window.

Note that for ServiceGANTT to run correctly on a PC, the PC must be correctly configured, as described in the ServiceGANTT Pre-requisites; for example, display must be set to 256 colours.

Command Line

The usage message is shown when ServiceGANTT is started with the -h option and is as follows.

OptionsDescription
 -d <database connection string>set the user/database and password
-u <Final RU>

set the Final RU to start the application with.

             If the argument is omited no Final RU is loaded

-s <server_host>:<host_port_no>set the host machine and port number of ServiceOptimizer to connect to
-b <number of days>specify the number of days to display before today
-a <number of days>specify the number of days to display after today
-hprint this usage message

 

As an example the command line could be: spgantt -d spower/pass -u North -s spserver:8901 -b 14 -a 60

If an option has not been specified its value is the value used in the last running of the application. If no such value exists the user is prompted for input. Note also that all these options are settable via the logon screen (see reference [5]).

Start-up Requirements

ServiceOptimizer together with the selected FRU process must be running on the server platform. The user must be registered in the ServiceScheduling database (sp085_users).

.spgantt.properties file

This file stores the configuration properties for the Gantt. If it does not exist when the application is run then one is created, with a set of default configurations provided from the server. It will be created in the user's home directory.

If a business would like all gantt users to use a common look and feel to their running Gantts then a standard file may be installed onto all user machines prior to installing the Gantt. 

Log File

To produce a log file add the following line to the .spgantt.properties file.

logFile=%h/ganttTrace.%u.log

A log file named ganttTrace.0.log will appear in the user's home directory (i.e. C:\Documents and Settings\<username>) the next time the Gantt is started. If more than one Gantt is run at once each will have its own file. E.g. the second Gantt will trace to the file ganttTrace.1.log.