[squeak-dev] Re: [ExperimentalCoreRelease] PharoCore-1.0-10508rc2 vs SL3dot11-9499-alpha

Andreas Raab andreas.raab at gmx.de
Fri Mar 12 20:43:50 UTC 2010

On 3/12/2010 12:31 PM, Levente Uzonyi wrote:
> Try LPF, we integrated all but one fixes which were added by the 3.10.2
> script: http://bugs.squeak.org/view.php?id=7423
> (I think you just asked this question to tell me that MC can't load
> itself.) IMHO it's just a question of integration technique. We could
> change lots of "core" classes without breaking the image.

Indeed. It's not even hard. All you need is a small script that does 
something like this:

"Unload old Monticello"
(PackageInfo named: 'Monticello') classes do:[:cls| cls removeFromSystem].

"Install new version"
((ZipArchive new readFrom:
	(HTTPSocket httpGet: 
	memberNamed: 'snapshot/source.st') contentStream fileIn.

This can be easily fudged into a little script  that the old MC version 
receives, processes asynchronously, and as a result replaces itself by a 
newer version.

   - Andreas

More information about the Squeak-dev mailing list