Stef, This should do the trick: | pharoVersion tokens attributes attribute | pharoVersion := '2.4.4.5'. "not sure of version api for pharo" attributes := { #squeakCommon. #pharo }. tokens := pharoVersion subStrings: $.. attribute := ''. 1 to: tokens size do: [:index | | token | (token := tokens at: index) isEmpty ifTrue: [ ^attributes ]. attribute := attribute, token. attributes add: ('pharo', attribute, '.x') asSymbol. attribute := attribute, '.']. ^attributes Dale ----- Original Message ----- | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | To: Pharo-project@lists.gforge.inria.fr | Sent: Thursday, April 26, 2012 2:53:45 PM | Subject: Re: [Pharo-project] Who is maintaining the Grease configuration | | | On Apr 25, 2012, at 11:01 PM, Dale Henrichs wrote: | | > ... let me finish my thought ... | > | > I can share that algorithm with you, if you want:) | | sure send code :) | | > | > Dale | > | > ----- Original Message ----- | > | From: "Dale Henrichs" <dhenrich@vmware.com> | > | To: Pharo-project@lists.gforge.inria.fr | > | Sent: Wednesday, April 25, 2012 2:01:05 PM | > | Subject: Re: [Pharo-project] Who is maintaining the Grease | > | configuration | > | | > | For Gemstone, I generate (and cache) the attributes based on | > | programmatic access to the image version number... | > | | > | Dale | > | | > | ----- Original Message ----- | > | | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | > | | To: Pharo-project@lists.gforge.inria.fr | > | | Sent: Wednesday, April 25, 2012 12:58:25 PM | > | | Subject: Re: [Pharo-project] Who is maintaining the Grease | > | | configuration | > | | | > | | Ok I will do it. | > | | We should add this to our process. | > | | | > | | Stef | > | | | > | | | > | | > The first thing that I ran into is that the attributes for | > | | > Pharo2.0 | > | | > need to be updated ... right now: | > | | > | > | | > ConfigurationOfGrease project attributes | > | | > | > | | > returns: | > | | > | > | | > an OrderedCollection(#common #squeakCommon #pharo | > | | > #'pharo1.x' | > | | > #'pharo1.4.x') | > | | > | > | | > Looks like SmalltalkImage>>metacelloPlatformAttributes needs | > | | > to | > | | > be | > | | > updated to return: | > | | > | > | | > #(#squeakCommon #pharo #'pharo2.x' #'pharo2.0.x') | > | | > | > | | > Dale | > | | > | > | | > ----- Original Message ----- | > | | > | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | > | | > | To: Pharo-project@lists.gforge.inria.fr | > | | > | Sent: Wednesday, April 25, 2012 10:26:18 AM | > | | > | Subject: Re: [Pharo-project] Who is maintaining the Grease | > | | > | configuration | > | | > | | > | | > | Thanks | > | | > | I will start to add the pharo2.0.x to some configurations | > | | > | too. | > | | > | | > | | > | Stef | > | | > | | > | | > | > I'm the editor for the Grease configuration, so I'll take | > | | > | > this | > | | > | > on | > | | > | > ... | > | | > | > | > | | > | > Dale | > | | > | > | > | | > | > ----- Original Message ----- | > | | > | > | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | > | | > | > | To: "Pharo-project@lists.gforge.inria.fr Development" | > | | > | > | <Pharo-project@lists.gforge.inria.fr> | > | | > | > | Sent: Wednesday, April 25, 2012 7:37:14 AM | > | | > | > | Subject: [Pharo-project] Who is maintaining the Grease | > | | > | > | configuration | > | | > | > | | > | | > | > | Because we should create a symbolic version for 20 | > | | > | > | | > | | > | > | This package depends on the following classes: | > | | > | > | BlockContext | > | | > | > | You must resolve these dependencies before you will be | > | | > | > | able | > | | > | > | to | > | | > | > | load | > | | > | > | these definitions: | > | | > | > | fixCallbackTemps | > | | > | > | tempVarRefs | > | | > | > | valueWithPossibleArguments: | > | | > | > | | > | | > | > | | > | | > | > | | > | | > | > | > | | > | | > | | > | | > | | > | | > | | > | > | | | > | | | > | | | > | | > | | |