Login with Topaz

Topaz is a command line interface to interact with GemStone/S. The Topaz functionalities includes:

  • Login into GemStone/S
  • Query object model
  • Execute GemStone/S code
  • Creating and changing methods
  • Debugging

This is short list of Topaz capabilities for a full view check Topaz manual
To run Topaz just type "topaz" in the Linux terminal:
$topaz
After executing Topaz command the Topaz interface will be shown:
topaz
There is no user logged yet.
Execute the following Topaz commands:

topaz> set username DataCurator
topaz> set password swordfish
topaz> set gemstone devKit_329
topaz> login

The name of the GemStone/S server in this case "devKit_329" depends on which version has been download.
The password for the user "DataCurator" is the default password and it MUST be changed (for security reasons).
Now the user DataCurator is logged in GemStone/S (the number 1 depict the session number).
To run the any script type:

topaz 1> run
"text of the script"
%

Do not forget the percentage % character.
For example to run the first part of the installation script:

topaz 1> run
Gofer new
  package: 'GsUpgrader-Core';
  url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
  load.
(Smalltalk at: #GsUpgrader) upgradeGrease.
%

After the installation has finished the Transaction has to be commited.
To commit a transaction in Topaz:

topaz 1> run
System commit.
%

results matching ""

    No results matching ""