Tonel filetree

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tonel filetree

Stephane Ducasse-3
Hi

Question1:
I would like to develop a new library in tonel format.
Can I load and write in tonel from Pharo 60?

Question2:
I have chrysal in tonel and it uses property environment in filetree
(I should convert
but I'm scared).
Is my baseline correct? Because it does not load in Pharo 60 (not
tested yet in Pharo 70).

baseline: spec
   <baseline>
   spec
     baseline: 'Containers-PropertyEnvironment'
     with: [ spec repository:
'github://Ducasse/Containers-PropertyEnvironment' ].
   spec
     for: #pharo
     do: [ spec
                 package: 'Containers-PropertyEnvironment';
                 package: 'Chrysal' with: [ spec requires:
#('Containers-PropertyEnvironment') ] ]

Reply | Threaded
Open this post in threaded view
|

Re: Tonel filetree

EstebanLM


> On 25 Feb 2018, at 08:31, Stephane Ducasse <[hidden email]> wrote:
>
> Hi
>
> Question1:
> I would like to develop a new library in tonel format.
> Can I load and write in tonel from Pharo 60?

Pharo 6.1, yes

>
> Question2:
> I have chrysal in tonel and it uses property environment in filetree
> (I should convert
> but I'm scared).
> Is my baseline correct? Because it does not load in Pharo 60 (not
> tested yet in Pharo 70).
>
> baseline: spec
>   <baseline>
>   spec
>     baseline: 'Containers-PropertyEnvironment'
>     with: [ spec repository:
> 'github://Ducasse/Containers-PropertyEnvironment' ].
>   spec
>     for: #pharo
>     do: [ spec
>                 package: 'Containers-PropertyEnvironment';
>                 package: 'Chrysal' with: [ spec requires:
> #('Containers-PropertyEnvironment') ] ]

No, is not ok :)

baseline: spec
  <baseline>

  spec
    for: #pharo
    do:
        spec
                baseline: ‘ContainersPropertyEnvironment'
                with:  [ spec repository: 'github://Ducasse/Containers-PropertyEnvironment’ ].
        spec
                package: 'Chrysal’
                with: [ spec requires: #('ContainersPropertyEnvironment') ] ]

1. baseline is the name of the class BaselineOfEtc
2. dependency is against the name of the baseline, in this case “ContainersPropertyEnvironment”

Esteban


>


Reply | Threaded
Open this post in threaded view
|

Re: Tonel filetree

Stephane Ducasse-3
tx esteban!

On Sun, Feb 25, 2018 at 10:25 AM, Esteban Lorenzano <[hidden email]> wrote:

>
>
>> On 25 Feb 2018, at 08:31, Stephane Ducasse <[hidden email]> wrote:
>>
>> Hi
>>
>> Question1:
>> I would like to develop a new library in tonel format.
>> Can I load and write in tonel from Pharo 60?
>
> Pharo 6.1, yes
>
>>
>> Question2:
>> I have chrysal in tonel and it uses property environment in filetree
>> (I should convert
>> but I'm scared).
>> Is my baseline correct? Because it does not load in Pharo 60 (not
>> tested yet in Pharo 70).
>>
>> baseline: spec
>>   <baseline>
>>   spec
>>     baseline: 'Containers-PropertyEnvironment'
>>     with: [ spec repository:
>> 'github://Ducasse/Containers-PropertyEnvironment' ].
>>   spec
>>     for: #pharo
>>     do: [ spec
>>                 package: 'Containers-PropertyEnvironment';
>>                 package: 'Chrysal' with: [ spec requires:
>> #('Containers-PropertyEnvironment') ] ]
>
> No, is not ok :)
>
> baseline: spec
>   <baseline>
>
>   spec
>     for: #pharo
>     do:
>         spec
>                 baseline: ‘ContainersPropertyEnvironment'
>                 with:  [ spec repository: 'github://Ducasse/Containers-PropertyEnvironment’ ].
>         spec
>                 package: 'Chrysal’
>                 with: [ spec requires: #('ContainersPropertyEnvironment') ] ]
>
> 1. baseline is the name of the class BaselineOfEtc
> 2. dependency is against the name of the baseline, in this case “ContainersPropertyEnvironment”
>
> Esteban
>
>
>>
>
>