Could not resolve: BaselineOfNeoJSON

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

Could not resolve: BaselineOfNeoJSON

Pharo Smalltalk Users mailing list
Hi Guys,

The evaluation of
Metacello new
  repository: 'github://svenvc/NeoJSON/repository';
  baseline: 'NeoJSON';
  load.

returns: Could not resolve: BaselineOfNeoJSON [BaselineOfNeoJSON] in
/Users/myName/Development/MyProject/package-cache
github://svenvc/NeoJSON:master/repository

Can you help me, please?
Thanks



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Sven Van Caekenberghe-2
When loading from Git(Hub) you have to use BaselineOf...

Installation instructions at https://github.com/svenvc/NeoJSON

> On 27 Sep 2019, at 11:54, Davide Varvello via Pharo-users <[hidden email]> wrote:
>
>
> From: Davide Varvello <[hidden email]>
> Subject: Could not resolve: BaselineOfNeoJSON
> Date: 27 September 2019 at 11:54:03 GMT+2
> To: [hidden email]
>
>
> Hi Guys,
>
> The evaluation of
> Metacello new
>  repository: 'github://svenvc/NeoJSON/repository';
>  baseline: 'NeoJSON';
>  load.
>
> returns: Could not resolve: BaselineOfNeoJSON [BaselineOfNeoJSON] in
> /Users/myName/Development/MyProject/package-cache
> github://svenvc/NeoJSON:master/repository
>
> Can you help me, please?
> Thanks
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Pharo Smalltalk Users mailing list
Hi Sven,
I don't quite understand. At https://github.com/svenvc/NeoJSON it shows "to
load NeoJSON using Metacello"
Metacello new
  repository: 'github://svenvc/NeoJSON/repository';
  baseline: 'NeoJSON';
  load.

That's the step I did and I suppose it was enough. I don't know the meaning
of the next line and :
spec baseline: 'NeoJSON' with: [ spec repository:
'github://svenvc/NeoJSON/repository' ].

Any hints?
Thanks


Sven Van Caekenberghe-2 wrote
> When loading from Git(Hub) you have to use BaselineOf...
>
> Installation instructions at https://github.com/svenvc/NeoJSON
>
>> On 27 Sep 2019, at 11:54, Davide Varvello via Pharo-users &lt;

> pharo-users@.pharo

> &gt; wrote:
>>
>>
>> From: Davide Varvello &lt;

> varvello@

> &gt;
>> Subject: Could not resolve: BaselineOfNeoJSON
>> Date: 27 September 2019 at 11:54:03 GMT+2
>> To:

> pharo-users@.pharo

>>
>>
>> Hi Guys,
>>
>> The evaluation of
>> Metacello new
>>  repository: 'github://svenvc/NeoJSON/repository';
>>  baseline: 'NeoJSON';
>>  load.
>>
>> returns: Could not resolve: BaselineOfNeoJSON [BaselineOfNeoJSON] in
>> /Users/myName/Development/MyProject/package-cache
>> github://svenvc/NeoJSON:master/repository
>>
>> Can you help me, please?
>> Thanks
>>
>>
>>
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>
>>
>>





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Sven Van Caekenberghe-2
Davide,

I don't know what you are doing, exactly.

If I download a fresh Pharo 7.0.4 (64bit on macOS), and I execute the expression

Metacello new
  repository: 'github://svenvc/NeoJSON/repository';
  baseline: 'NeoJSON';
  load.

it loads as expected, with the following in the Transcript

Fetched -> BaselineOfNeoJSON-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Loaded -> BaselineOfNeoJSON-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Loading baseline of BaselineOfNeoJSON...
Fetched -> Neo-JSON-Core-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Fetched -> Neo-JSON-Tests-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Fetched -> Neo-JSON-Pharo-Core-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Fetched -> Neo-JSON-Pharo-Tests-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- [hidden email]:svenvc/NeoJSON.git[master]
Loaded -> Neo-JSON-Core-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- cache
Loaded -> Neo-JSON-Tests-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- cache
Loaded -> Neo-JSON-Pharo-Core-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- cache
Loaded -> Neo-JSON-Pharo-Tests-CompatibleUserName.1551110229 --- [hidden email]:svenvc/NeoJSON.git[master] --- cache
...finished baseline

And all NeoJSON tests are green.

Sven

> On 27 Sep 2019, at 14:57, Davide Varvello via Pharo-users <[hidden email]> wrote:
>
>
> From: Davide Varvello <[hidden email]>
> Subject: Re: Could not resolve: BaselineOfNeoJSON
> Date: 27 September 2019 at 14:57:33 GMT+2
> To: [hidden email]
>
>
> Hi Sven,
> I don't quite understand. At https://github.com/svenvc/NeoJSON it shows "to
> load NeoJSON using Metacello"
> Metacello new
>  repository: 'github://svenvc/NeoJSON/repository';
>  baseline: 'NeoJSON';
>  load.
>
> That's the step I did and I suppose it was enough. I don't know the meaning
> of the next line and :
> spec baseline: 'NeoJSON' with: [ spec repository:
> 'github://svenvc/NeoJSON/repository' ].
>
> Any hints?
> Thanks
>
>
> Sven Van Caekenberghe-2 wrote
>> When loading from Git(Hub) you have to use BaselineOf...
>>
>> Installation instructions at https://github.com/svenvc/NeoJSON
>>
>>> On 27 Sep 2019, at 11:54, Davide Varvello via Pharo-users &lt;
>
>> pharo-users@.pharo
>
>> &gt; wrote:
>>>
>>>
>>> From: Davide Varvello &lt;
>
>> varvello@
>
>> &gt;
>>> Subject: Could not resolve: BaselineOfNeoJSON
>>> Date: 27 September 2019 at 11:54:03 GMT+2
>>> To:
>
>> pharo-users@.pharo
>
>>>
>>>
>>> Hi Guys,
>>>
>>> The evaluation of
>>> Metacello new
>>> repository: 'github://svenvc/NeoJSON/repository';
>>> baseline: 'NeoJSON';
>>> load.
>>>
>>> returns: Could not resolve: BaselineOfNeoJSON [BaselineOfNeoJSON] in
>>> /Users/myName/Development/MyProject/package-cache
>>> github://svenvc/NeoJSON:master/repository
>>>
>>> Can you help me, please?
>>> Thanks
>>>
>>>
>>>
>>> --
>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>>
>>>
>>>
>
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Pharo Smalltalk Users mailing list
Sven,
You are right, I've just downloaded Pharo 7 and everything is fine. The
issue is showing on Pharo 5 (I'm working on it)
Davide


Sven Van Caekenberghe-2 wrote

> Davide,
>
> I don't know what you are doing, exactly.
>
> If I download a fresh Pharo 7.0.4 (64bit on macOS), and I execute the
> expression
>
> Metacello new
>   repository: 'github://svenvc/NeoJSON/repository';
>   baseline: 'NeoJSON';
>   load.
>
> it loads as expected, with the following in the Transcript
>
> Fetched -> BaselineOfNeoJSON-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Loaded -> BaselineOfNeoJSON-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Loading baseline of BaselineOfNeoJSON...
> Fetched -> Neo-JSON-Core-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Fetched -> Neo-JSON-Tests-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Fetched -> Neo-JSON-Pharo-Core-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Fetched -> Neo-JSON-Pharo-Tests-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] ---

> git@

> :svenvc/NeoJSON.git[master]
> Loaded -> Neo-JSON-Core-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] --- cache
> Loaded -> Neo-JSON-Tests-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] --- cache
> Loaded -> Neo-JSON-Pharo-Core-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] --- cache
> Loaded -> Neo-JSON-Pharo-Tests-CompatibleUserName.1551110229 ---

> git@

> :svenvc/NeoJSON.git[master] --- cache
> ...finished baseline
>
> And all NeoJSON tests are green.
>
> Sven
>
>> On 27 Sep 2019, at 14:57, Davide Varvello via Pharo-users &lt;

> pharo-users@.pharo

> &gt; wrote:
>>
>>
>> From: Davide Varvello &lt;

> varvello@

> &gt;
>> Subject: Re: Could not resolve: BaselineOfNeoJSON
>> Date: 27 September 2019 at 14:57:33 GMT+2
>> To:

> pharo-users@.pharo

>>
>>
>> Hi Sven,
>> I don't quite understand. At https://github.com/svenvc/NeoJSON it shows
>> "to
>> load NeoJSON using Metacello"
>> Metacello new
>>  repository: 'github://svenvc/NeoJSON/repository';
>>  baseline: 'NeoJSON';
>>  load.
>>
>> That's the step I did and I suppose it was enough. I don't know the
>> meaning
>> of the next line and :
>> spec baseline: 'NeoJSON' with: [ spec repository:
>> 'github://svenvc/NeoJSON/repository' ].
>>
>> Any hints?
>> Thanks
>>
>>
>> Sven Van Caekenberghe-2 wrote
>>> When loading from Git(Hub) you have to use BaselineOf...
>>>
>>> Installation instructions at https://github.com/svenvc/NeoJSON
>>>
>>>> On 27 Sep 2019, at 11:54, Davide Varvello via Pharo-users &lt;
>>
>>> pharo-users@.pharo
>>
>>> &gt; wrote:
>>>>
>>>>
>>>> From: Davide Varvello &lt;
>>
>>> varvello@
>>
>>> &gt;
>>>> Subject: Could not resolve: BaselineOfNeoJSON
>>>> Date: 27 September 2019 at 11:54:03 GMT+2
>>>> To:
>>
>>> pharo-users@.pharo
>>
>>>>
>>>>
>>>> Hi Guys,
>>>>
>>>> The evaluation of
>>>> Metacello new
>>>> repository: 'github://svenvc/NeoJSON/repository';
>>>> baseline: 'NeoJSON';
>>>> load.
>>>>
>>>> returns: Could not resolve: BaselineOfNeoJSON [BaselineOfNeoJSON] in
>>>> /Users/myName/Development/MyProject/package-cache
>>>> github://svenvc/NeoJSON:master/repository
>>>>
>>>> Can you help me, please?
>>>> Thanks
>>>>
>>>>
>>>>
>>>> --
>>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Pharo Smalltalk Users mailing list
No way to run it on Pharo5?
Thx


Pharo Smalltalk Users mailing list wrote
> Sven,
> You are right, I've just downloaded Pharo 7 and everything is fine. The
> issue is showing on Pharo 5 (I'm working on it)
> Davide





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

CyrilFerlicot
Le 29/09/2019 à 11:23, Davide Varvello via Pharo-users a écrit :

Hi,

NoeJSON seems to be saved with the Tonel format.

Tonel is by default in Pharo since Pharo 6.1.

It should be possible to update Metacello and Tonel to be able to load
this project in Pharo 4+

Here is a pharo-wiki page explaining how to do it:

https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/ExportFormats.md#tonel-supported-pharo-versions

Have a nice day!

--
Cyril Ferlicot
https://ferlicot.fr


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Could not resolve: BaselineOfNeoJSON

Pharo Smalltalk Users mailing list
Hi Cyril,
You are right, I updated Metacello and Tonel and everything is fine also on
Pharo5.
Thx.
Davide



CyrilFerlicot wrote

> Le 29/09/2019 à 11:23, Davide Varvello via Pharo-users a écrit :
>
> Hi,
>
> NoeJSON seems to be saved with the Tonel format.
>
> Tonel is by default in Pharo since Pharo 6.1.
>
> It should be possible to update Metacello and Tonel to be able to load
> this project in Pharo 4+
>
> Here is a pharo-wiki page explaining how to do it:
>
> https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/ExportFormats.md#tonel-supported-pharo-versions
>
> Have a nice day!
>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>
>
>
> signature.asc (836 bytes)
> &lt;http://forum.world.st/attachment/5104639/0/signature.asc&gt;





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html