Re: [Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Hilaire
May be old ConfigurationOf breaks on some part I only added a baseline to my configuration: baseline1801: spec         spec for: #common do: [         spec blessing: #baseline;             repository: repoPath;             description: 'Dr. Geo, an interactive geometry application.';          

Re: [Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Stephane Ducasse
In my pharo 6.1 image I have currentVersion | cacheKey cv | cacheKey := self configuration class. ^ MetacelloPlatform current stackCacheFor: #currentVersion at: cacheKey doing: [ :cache | cv := self currentVersionAgainst: nil. ^ cache at: cacheKey put: cv ] And we do not change the code that Dale

[Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Hilaire
Hello, I use to do perform this code to get the installed version from a ConfigurationOfDrGeo: drgeoVersion     ^ 'Installed version: ', ConfigurationOfDrGeo new project currentVersion versionNumber versionString It does not work anymore, and produce the following error stack Any idea? Hi