Setting up the Gosu command-prompt tool
The PolicyCenter installation directory includes the Gosu tool
as a subdirectory named
admin. The admin directory
includes the following files and directories:| Path | Purpose |
|---|---|
/bin/gosu.cmd |
The Windows tool that invokes Gosu |
| /src/gw/cmdline/util/*.gs | Gosu classes for the command-prompt tool |
/lib/*.jar |
Java archive (JAR) files that contain core Gosu libraries |
To use the Gosu tool on another computer, copy the entire admin
directory to that computer. Ensure that the computer has a supported version of the Java run
time.
Important: You are licensed to use the Gosu tool only to work with
Guidewire applications.
You can change your system’s path to add the Gosu tool
bin directory so that the command prompt can find the
gosu command. In the base configuration, this directory is
PolicyCenter/admin/bin.
On Windows, modify the system Path variable by going to the
Start menu and choosing . In System variables, choose the Path
variable. At the end of the variable value, type a semicolon and the full path to the
bin directory in the Gosu tool directory.
For example, suppose you copied the contents of the admin directory to
the path:
C:\gosu\Add the following to the system path:
;C:\gosu\binTo test this path, close any existing command-prompt windows, and then open a new
command-prompt window. Type the following command:
gosu -helpIf the Gosu help information appears, the Gosu tool is installed correctly.
