smalltalkpharoseasidegemstone

Filing an ST into the GemStone server with Gem Tools


1) I have the GemStone server running.
2) I have a Pharo 1.0 image with the gemStone Tools loaded.
3) I could succesfully login to the server after creating a session.

Now I have an "abc.st" file done by me in another Pharo-Image.

I couldn't find any interface which helps me to filein this ST into the gemStone server with the gemStone Tool.

Am I missing something?


Solution

  • The preferred mechanism for transferring code to GemStone using GemTools is to use Monticello packages. If you are unfamiliar with using Monticello, read the Pharo By Example Monticello chapter(pdf). The basic principles described there can be applied to both Pharo and GemStone.

    With that said, you can file in a .st file by doing the following:

    (BinaryOrTextFile openReadOnServer: 'full path to abc.st') 
      fileIn;
      close.
    

    Dale