On Oct 27, 2012, at 5:20 AM, Dale Henrichs wrote:

> I think that:
> 
>  #(#squeakCommon #pharo #'pharo2.x' #'pharo2.0.x')
> 
> is the standard pattern. #'pharo2.x' implies that the code is common across 
> the whole pharo2 family. #'pharo2.0.x' covers the pharo2.0 family. 

Ok I will update then the configuration I was writing because I used 2.0.x


> 
> If you want to explicitly exclude pharo2.1, pharo2.2, etc. and beyond then 
> the following would suffice:
> 
>  #(#squeakCommon #pharo #'pharo2.0.x')
> 
> but I think it is better to define the full range of versions for each 
> platform rather than exclude some. Then if a developer finds that they've got 
> code that runs in 2.0 and 2.1 they can have an attribute available to cover 
> their needs.
> 
> The #'pharo2.x' is looking forward towards future releases...
> 
> Dale
> 
> ----- Original Message -----
> | From: "stephane ducasse" <[email protected]>
> | To: "Pharo Development" <[email protected]>
> | Sent: Friday, October 26, 2012 1:20:24 PM
> | Subject: [Pharo-project] is Smalltalk metacelloPlatformAttributes incorrect 
> in 2.0
> | 
> | Smalltalk metacelloPlatformAttributes #(#squeakCommon #pharo
> | #'pharo2.x' #'pharo2.0.x')
> | 
> | I have the impression that we should better have
> | 
> | #(#squeakCommon #pharo #'pharo2.0' #'pharo2.0.x')
> | 
> | what do you think?
> | 
> | Stef
> | 
> 


Reply via email to