Loading GT server code into a Rowan stone
This page documents the steps to load the Gt server code in to a GemStone stone with Rowan pre-loaded.
Gtoolkit development is normally done in a stone with Rowan loaded, and exported to .gs files for loading in to non-Rowan stones.
Note that the bash snippets are provided as a template, assuming that GemStone will be installed in to remote-gemstone in the image directory, and may need modifying for actual use.
Set the environment variables:
source pharo-local/iceberg/feenkcom/gt4gemstone/scripts/dev_preconfigure_gemstone.sh --rowan2
Retrieve the required repositories:
cd <GT image directory>
mkdir -p pharo-local/iceberg/feenkcom
cd pharo-local/iceberg/feenkcom
git clone git@github.com:feenkcom/gt4gemstone.git
git clone git@github.com:feenkcom/gtoolkit-remote
git clone git@github.com:feenkcom/gtoolkit-wireencoding
git clone git@github.com:feenkcom/gt4llm
Install GemStone:
cd <GT image directory>
./gt4gemstone/scripts/setup-remote-gemstone.sh
Create the gemstone properties file for GT:
GtImageSetup createLocalGt4GemStoneProperties.
Then restart GT.
Start GemStone:
startstone gs64stone
startnetldi -g
At this point you should be able to interact with GemStone, e.g.:
session := GtGemStoneSessionRegistry default sessionWithConnectorNamed: 'systemuser'. session evaluateAndWait: '3+4'.
Or create a GemStone snippet in a lepiter page, select either systemuser or datacurator for the connector and evaluate a GemStone expression.