[squeak-dev] The Inbox: Monticello-fbs.581.mcz

Frank Shearar frank.shearar at gmail.com
Mon Dec 23 08:24:13 UTC 2013


On 21 December 2013 22:44, Frank Shearar <frank.shearar at gmail.com> wrote:
> On 21 December 2013 22:39,  <commits at source.squeak.org> wrote:
>> A new version of Monticello was added to project The Inbox:
>> http://source.squeak.org/inbox/Monticello-fbs.581.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Monticello-fbs.581
>> Author: fbs
>> Time: 21 December 2013, 8:00:04.242 pm
>> UUID: 26fba6b3-441c-434b-9d61-e39955f4a5ca
>> Ancestors: Monticello-cmm.580
>>
>> Make Monticello loading/unloading Environmentally aware. Loading Monticello definitions is as simple as
>>
>> ["loading logic here"]
>>     on: EnvironmentRequest do: [:e | e resume: yourEnvironment].
>>
>> =============== Diff against Monticello-cmm.580 ===============
>
> | ctrl b |
> Installer sm update.
> ctrl := Environment withName: 'CtrlEnv'.
> ctrl import: Smalltalk globals.
> [Installer sm install: 'Control'] on: EnvironmentRequest do: [:e | e
> resume: ctrl].
> b := Browser new.
> b selectEnvironment: ctrl.
> Browser openBrowserView: (b openEditString: nil) label: 'Heehee'.
>
> Note how the Browser shows only those classes declared in the ctrl Environment.

Actually, the above doesn't work because Installer sm uses a fileIn
into a ChangeSet. At any rate, if you replace the "Installer sm
install: 'Control'" line with your own favourite mcz in your package
cache, things will work.

frank


More information about the Squeak-dev mailing list