[Glass] Export/Import source code - fileIn or Monticello
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Wed Nov 15 13:31:44 PST 2017
I realized that i had typos in the tODE script and a bug (or two). First
here's the corrected script:
mc create MyApplication-Core # create package
mr create filetree://$GS_HOME/shared/repos/MyApplication # create
repository
cls category MyApplication-Core MyClass # add
classes to package
method protocol *MyApplication-Core Object>>className # add
extension methods to package
mc save MyApplication-Core MyApplication-Core-mf.1
filetree://$GS_HOME/shared/repos/MyApplication `my commit message`
# save the package to the repository
mc load MyApplication-Core
filetree://$GS_HOME/shared/repos/MyApplication # load the package
into the image
now for the bugs...
first you have to create the `$GS_HOME/shared/repos/MyApplication`
directory before using it in the `mr create` command ...
The second bug was that the second line continuation `\` is not handled
correctly ...
Dale
On 11/15/17 11:43 AM, Dale Henrichs wrote:
> mc create MyApplication-Core
> # create package
> mr create filetree://$GS_HOME/shared/repos/ MyApplication
> # create repository
> cls category MyApplication-Core <list-of-MyApplication-classes>
> # add classes to package
> method protocol accessing *MyApplication-Core
> <list-of-ext-methods> # add extension methods to package
> mc save MyApplication-Core MyApplication-Core-mf.1 \
> filetree://$GS_HOME/shared/repos/ MyApplication \
> `my commit message`
> # save the package to the repository
> mc load MyApplication-Core filetree://$GS_HOME/shared/repos/
> MyApplication # load the package into the image
More information about the Glass
mailing list