logo       

Magma tutorial or examples: msg#00102

lang.smalltalk.squeak.beginners

Subject: Magma tutorial or examples


I recently loaded Magma into my image to play around with, following the
Getting Started Guide at:

http://wiki.squeak.org/squeak/2689

I looked around for some more documentation or code examples but was not able
to find any. Can someone point me to sample programs that illustrate how Magma
is used?

Thanks,

Paul

PS: There may be a few errors or ommissions in the Getting Started guide.
After creating the sample repository with,

MagmaRepositoryController
create: 'c:\myMagmaFolder'
root: Dictionary new

the guide explains that in single user mode, one can use the new obejct store
by executing

myMagmaSession := MagmaSession openLocal:
'c:\myMagmaFolder\myRepository.magma'.
myMagmaSession connectAs: 'chris'

I got a traceback when I tried the above. I got it working only after trying

myMagmaSession := MagmaSession openLocal: 'c:\myMagmaFolder'.
myMagmaSession connectAs: 'chris'

Ie, the MagmaSession class>>openLocal: method takes a directory name rather
than a particular '.magma' element.



--
_______________________________________________
Get your free email from http://mail.doramail.com

Powered by Outblaze


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise