Hi all, I'm trying to resolve a dialect compatibility problem like this: I want to load the Squeak and Pharo3 to 5 version depending on FFI Smallapack-StdLib-nice.1 For Pharo6, I made a different branch depending on UFFI Smallapack-StdLib.UFFI-nice.1 In the base line, i tell spec for: #'common' do: [ spec blessing: #'baseline'. spec repository: 'http://www.squeaksource.com/Smallapack'. spec package: 'Smallapack-StdLib'] and in the version I tell spec for: #squeak do: [ spec package: 'Smallapack-StdLib' with: 'Smallapack-StdLib-nice.1']. spec for: #'pharo5.0.x' do: [ spec package: 'Smallapack-StdLib' with: 'Smallapack-StdLib-nice.1']. spec for: #'pharo6.0.x' do: [ spec package: 'Smallapack-StdLib' with: 'Smallapack-StdLib.UFFI-nice.1']. but the configuration loads Smallapack-StdLib-nice.1 instead of Smallapack-StdLib.UFFI-nice.1 I would like to avoid using two different package names because it complexifies the baseline for nothing. It the same package, just a different branch. Isn't it possible? Why? Can we fix it? |
Hi, Would something like this work: spec for: #'pharo6.0.x' do: [ spec package: 'Smallapack-StdLib' with: [ spec file: 'Smallapack-StdLib.UFFI-nice.1'] ] Or maybe in the baseline you can have: spec package: 'Smallapack-StdLib' with: [ spec file: 'Smallapack-StdLib.UFFI-nice'] ] Cheers, Andrei On Fri, Jan 11, 2019 at 12:19 PM Nicolas Cellier <[hidden email]> wrote:
|
Thanks, that did not work, but I think my mistake was to write this; spec for: #'pharo6.0.x' instead of: spec for: #'pharo6.x'. Smalltalk version -> 'Pharo6.0', so probably the second dot does not match anything... I'll have to review more ConfigurationOf... Le ven. 11 janv. 2019 à 21:51, Andrei Chis <[hidden email]> a écrit :
|
On Fri 11 Jan 2019 at 22:51, Nicolas Cellier <[hidden email]> wrote:
Hello, I do not have an image to check but you can find compatible by executing something like `Smalltalk metacelloPlatformAttributes` in a Pharo 6 image. From what I wrote here: I guess your problem is that you tried to load the code in Pharo 6.1 and not 6.0. Cyril Ferlicot
https://ferlicot.fr |
Free forum by Nabble | Edit this page |