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 <[email protected]> a
écrit :
> 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 <
> [email protected]> wrote:
>
>> 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?
>>
>