Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Unload MVC classes
Last updated at 3:07 am UTC on 18 December 2021
Needs to be tested with current 5.3 release of Squeak and then this page needs to be rewritten.

Note that the problems MVC had have been fixed.




http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-February/144305.html


David T. Lewis lewis at mail.msen.com
Mon Feb 15 04:35:52 UTC 2010

Previous message: [squeak-dev] The Trunk: KernelTests-dtl.139.mcz
Next message: [squeak-dev] Re: MVC now reloadable in trunk

There are a few rough edges, but it is now reasonably safe to unload and
reload MVC in Squeak trunk.

Unloading:

  Smalltalk zapMVCprojects.
  (MCPackage named: 'ToolBuilder-MVC') unload.
  (MCPackage named: 'ST80') unload.
  ScheduledControllers := nil.
  Smalltalk garbageCollect.

Unloading still works fine in Squeak 5.3 but does not remove the category ST80Tests. It does not remove all the menu entries to create a 'MVC' project thus causing the image to freeze if such an entry is chosen.

Reloading:

  Load package ST80
  Load package ToolBuilder-MVC
  Evaluate "MVCToolBuilder compileAll".

Issues:





Dave



Note: There have been fixes to MVC since 2010, but there are still problems.