[squeak-dev] Alien in trunk, for real

Bert Freudenberg bert at freudenbergs.de
Wed Sep 2 14:31:52 UTC 2009


On 02.09.2009, at 16:11, Michael Haupt wrote:

> Hi,
>
> did it. :-)
>
> Here's the recipe that works for me to get Alien up and running (Mac,
> 4.2.1 VM, recent trunk image):
>
> 1. install my Compiler patch from Inbox
> 2. install Alien-Core-First (most recent from SqueakSource - this
> holds for all Alien packages below)
> 3. install Alien-Core
> 4. install Alien-Examples
> 5. install Alien-LibC
> 6. install Alien-CoreTest
> 7. install Alien-Last-Class-Initialize
> 8. do
> Smalltalk allClasses
> 	select: [ :class |	class category beginsWith: 'Alien-' ]
> 	thenDo: [ :class |
> 		class methodDictionary do: [ :method |
> 			class recompile: method selector ].
> 		class class methodDictionary do: [ :method |
> 			class class recompile: method selector ] ]
>
> Next, fire up TestRunner, select the Alien tests, run them, watch the
> bar go green. :-)
>
> I'd like someone to help me in packaging this as a complete update
> that can be installed from the trunk repositories, including the last
> recompilation step.

Why is step 8 necessary? In any case you should steal from  
#recompilePackage

(PackageInfo named: 'Alien') methods
	do: [:ea | ea actualClass recompile: ea methodSymbol]
	displayingProgress: 'Recompiling...'

- Bert -





More information about the Squeak-dev mailing list