monticello tutorial?

Colin Putney cputney at wiresong.ca
Mon Jun 30 01:42:18 UTC 2003


On Sunday, June 29, 2003, at 05:53  PM, Joshua 'Schwa' Gargus wrote:

> Automatic loading is what I'm looking for.  What would be the best
> way to write a script to get Monticello to load a bunch of packages
> in order?  I'm not yet ready to put this code on SM (it runs in
> Croquet anyway).

What you want is something like this:

(MCPackageLoader new)
	addRevision: (MCRevision fromStream: (FileStream oldFileNamed: 
'Foo.mc'));
	addRevision: (MCRevision fromStream: (FileStream oldFileNamed: 
'Bar.mc'));
	addRevision: (MCRevision fromStream: (FileStream oldFileNamed: 
'Baz.mc'));
	load.

Hope this helps,

Colin



More information about the Squeak-dev mailing list