Loading Seaside and Voyage in Pharo 7.0 64bit

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

Loading Seaside and Voyage in Pharo 7.0 64bit

Jan Čada-2
Hi, 

I am trying to load Seaside and Voyage to Pharo 7.0 64bit image using following :

Metacello new
baseline:'Seaside3';
repository: '<a href="github://SeasideSt/Seaside:v3.4.0/repository" class="">github://SeasideSt/Seaside:v3.4.0/repository';
load.

Metacello new 
repository: '<a href="github://pharo-nosql/voyage:1.6/mc" class="">github://pharo-nosql/voyage:1.6/mc';
baseline: 'Voyage';
load: 'mongo tests'.


I am getting dependency error:

Load Conflict between existing BaselineOfGrease [baseline] from <a href="github://SeasideSt/Grease:v1.4.x/repository" class="">github://SeasideSt/Grease:v1.4.x/repository and BaselineOfGrease [baseline] from <a href="github://SeasideSt/Grease:v1.4.3/repository" class="">github://SeasideSt/Grease:v1.4.3/repository

- to me it seems that both Grease versions are in the end same. I see following in transcript:
Project: Grease Core Tests baseline
Fetched -> Grease-Tests-Core-CompatibleUserName.1554365153 --- <a href="https://github.com/SeasideSt/Grease.git[v1.4.3" class="">https://github.com/SeasideSt/Grease.git[v1.4.3, v1.4.x] --- <a href="https://github.com/SeasideSt/Grease.git[v1.4.x" class="">https://github.com/SeasideSt/Grease.git[v1.4.x]
Fetched -> Grease-Tests-Pharo-Core-CompatibleUserName.1554365153 --- <a href="https://github.com/SeasideSt/Grease.git[v1.4.3" class="">https://github.com/SeasideSt/Grease.git[v1.4.3, v1.4.x] --- <a href="https://github.com/SeasideSt/Grease.git[v1.4.x" class="">https://github.com/SeasideSt/Grease.git[v1.4.x]

- I do not insist on Seaside or voyage versions - I just took the latest. 

Can you please help me with resolving this issue ? 


Thanks, 

Jan



Reply | Threaded
Open this post in threaded view
|

Re: Loading Seaside and Voyage in Pharo 7.0 64bit

Paul DeBruicker
Add a

onConflict:[:ex | ex allow];


to your load instructions.  e.g.

Metacello new
        baseline:'Seaside3';
        repository: 'github://SeasideSt/Seaside:v3.4.0/repository';
        onConflict:[:ex | ex allow];
        load.

Metacello new
        repository: 'github://pharo-nosql/voyage:1.6/mc';
        baseline: 'Voyage';
        onConflict:[:ex | ex allow];
        load: 'mongo tests'.


If you're always going to load Voyage after Seaside into a fresh image then
you don't need the #onConflict: send in the Seaside load instructions.
Having it in both allows you to load them in either order.




Jan Čada-2 wrote

> Hi,
>
> I am trying to load Seaside and Voyage to Pharo 7.0 64bit image using
> following :
>
> Metacello new
> baseline:'Seaside3';
> repository: 'github://SeasideSt/Seaside:v3.4.0/repository';
> load.
>
> Metacello new
> repository: 'github://pharo-nosql/voyage:1.6/mc';
> baseline: 'Voyage';
> load: 'mongo tests'.
>
>
> I am getting dependency error:
>
> Load Conflict between existing BaselineOfGrease [baseline] from
> github://SeasideSt/Grease:v1.4.x/repository and BaselineOfGrease
> [baseline] from github://SeasideSt/Grease:v1.4.3/repository
> &lt;github://SeasideSt/Grease:v1.4.3/repository&gt;
>
> - to me it seems that both Grease versions are in the end same. I see
> following in transcript:
> Project: Grease Core Tests baseline
> Fetched -> Grease-Tests-Core-CompatibleUserName.1554365153 ---
> https://github.com/SeasideSt/Grease.git[v1.4.3, v1.4.x] ---
> https://github.com/SeasideSt/Grease.git[v1.4.x]
> Fetched -> Grease-Tests-Pharo-Core-CompatibleUserName.1554365153 ---
> https://github.com/SeasideSt/Grease.git[v1.4.3, v1.4.x] ---
> https://github.com/SeasideSt/Grease.git[v1.4.x]
>
> - I do not insist on Seaside or voyage versions - I just took the latest.
>
> Can you please help me with resolving this issue ?
>
>
> Thanks,
>
> Jan





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