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

Igor Stasenko siguctua at gmail.com
Fri Mar 12 21:03:21 UTC 2010


On 12 March 2010 22:43, Andreas Raab <andreas.raab at gmx.de> wrote:
> 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].
>
except from dozens of extension methods, which will keep sitting in image.

> "Install new version"
> ((ZipArchive new readFrom:
>        (HTTPSocket httpGet:
> 'http://www.squeaksource.com/mc/Monticello-<yourversionhere>.mcz'))
>        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.
>


> Cheers,
>  - Andreas
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list