Discussion:
[Pharo-users] Loading Metacello with Seaside
Vitor Medina Cruz
2018-11-27 23:08:56 UTC
Permalink
Hello!

WIndows 10 here with Pharo 7 32 bits. Here is my baseline:


baseline: spec
<baseline>
spec for: #'common' do: [
spec blessing: #'baseline';
repository: 'gitlab://vitormcruz/employees:master/pharo/';
'github://magritte-metamodel/magritte:v3.5.3/source';
'ConfigurationOfMagritte3';
loads: #(Seaside Core)
];
package: 'Employees' with: [ spec requires: #('Magritte3').
];
group: 'default' with: #('core');
group: 'core' with: #('Employees')
When I execute:

Metacello new baseline: #Employees;
'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
I got:

"project group, or package named: 'Seaside-Pharo-Development' not found
'Seaside-Tests-Pharo-Development' for version: baseline of
BaselineOfSeaside3."
It seems there is a problem with Magrite ConfigurationOf, am I correct?


Some general information:

1- Using https://github.com/magritte-metamodel/magritte instead
/magritte:v3.5.3/ of 'github://magritte-metamodel/magritte:v3.5.3/source
don't work;

2- You must provide className otherwise it does no work, even if docs says
itis not needed;

3- Metacello fail in ways it is hard to understand what happened;

4- On Pharo 64bits, Iceberg commit fails.

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Livre
de vírus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Cyril Ferlicot D.
2018-11-27 23:18:10 UTC
Permalink
Post by Vitor Medina Cruz
Hello!
baseline: spec
   
    <baseline>
       
    spec for: #'common' do: [
        spec blessing: #'baseline';
             repository: 'gitlab://vitormcruz/employees:master/pharo/';
                                                           
'github://magritte-metamodel/magritte:v3.5.3/source';
'ConfigurationOfMagritte3';
                                                    loads: #(Seaside
Core) ];
                                                   
#('Magritte3'). ];
                                                   
               group: 'default' with: #('core');
              group: 'core' with: #('Employees')
Metacello new baseline: #Employees;
'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
"project group, or package named: 'Seaside-Pharo-Development' not
'Seaside-Tests-Pharo-Development' for version: baseline of
BaselineOfSeaside3."
It seems there is a problem with Magrite ConfigurationOf, am I correct?
1- Using https://github.com/magritte-metamodel/magritte instead
/magritte:v3.5.3/ of 'github://magritte-metamodel/magritte:v3.5.3/source
don't work;
2- You must provide className otherwise it does no work, even if docs
says itis not needed;
3- Metacello fail in ways it is hard to understand what happened;
4- On Pharo 64bits, Iceberg commit fails.
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Livre de vírus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Hi,

Personally I declare my Magritte dependency with the Seaside group this way:

spec
baseline: 'Magritte'
with: [ spec
loads: #('Seaside');
repository: 'github://magritte-metamodel/magritte:v3.5.3/source' ].

If it can help you, here is a recent guide to Baselines:
https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/blob/master/General/Baselines.md
--
Cyril Ferlicot
https://ferlicot.fr
Vitor Medina Cruz
2018-11-28 10:34:22 UTC
Permalink
I tried with Baseline also, but it didn't work. I will try again as I can
have made some mistake and I will report here.
Post by Vitor Medina Cruz
Hello!
baseline: spec
<baseline>
spec for: #'common' do: [
spec blessing: #'baseline';
'gitlab://vitormcruz/employees:master/pharo/';
Post by Vitor Medina Cruz
'github://magritte-metamodel/magritte:v3.5.3/source';
'ConfigurationOfMagritte3';
loads: #(Seaside
Core) ];
#('Magritte3'). ];
group: 'default' with: #('core');
group: 'core' with: #('Employees')
Metacello new baseline: #Employees;
'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
"project group, or package named: 'Seaside-Pharo-Development' not
'Seaside-Tests-Pharo-Development' for version: baseline of
BaselineOfSeaside3."
It seems there is a problem with Magrite ConfigurationOf, am I correct?
1- Using https://github.com/magritte-metamodel/magritte instead
/magritte:v3.5.3/ of 'github://magritte-metamodel/magritte:v3.5.3/source
don't work;
2- You must provide className otherwise it does no work, even if docs
says itis not needed;
3- Metacello fail in ways it is hard to understand what happened;
4- On Pharo 64bits, Iceberg commit fails.
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Post by Vitor Medina Cruz
Livre de vírus. www.avg.com
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Post by Vitor Medina Cruz
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Hi,
spec
baseline: 'Magritte'
with: [ spec
loads: #('Seaside');
repository: 'github://magritte-metamodel/magritte:v3.5.3/source' ].
https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/blob/master/General/Baselines.md
--
Cyril Ferlicot
https://ferlicot.fr
Vitor Medina Cruz
2018-11-28 16:38:22 UTC
Permalink
Tried now, didn't work, same error. It is working for you?
Post by Vitor Medina Cruz
I tried with Baseline also, but it didn't work. I will try again as I can
have made some mistake and I will report here.
On Tue, Nov 27, 2018 at 9:19 PM Cyril Ferlicot D. <
Post by Vitor Medina Cruz
Hello!
baseline: spec
<baseline>
spec for: #'common' do: [
spec blessing: #'baseline';
'gitlab://vitormcruz/employees:master/pharo/';
Post by Vitor Medina Cruz
'github://magritte-metamodel/magritte:v3.5.3/source';
'ConfigurationOfMagritte3';
loads: #(Seaside
Core) ];
#('Magritte3'). ];
group: 'default' with: #('core');
group: 'core' with: #('Employees')
Metacello new baseline: #Employees;
'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
"project group, or package named: 'Seaside-Pharo-Development' not
'Seaside-Tests-Pharo-Development' for version: baseline of
BaselineOfSeaside3."
It seems there is a problem with Magrite ConfigurationOf, am I correct?
1- Using https://github.com/magritte-metamodel/magritte instead
/magritte:v3.5.3/ of 'github://magritte-metamodel/magritte:v3.5.3/source
don't work;
2- You must provide className otherwise it does no work, even if docs
says itis not needed;
3- Metacello fail in ways it is hard to understand what happened;
4- On Pharo 64bits, Iceberg commit fails.
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Post by Vitor Medina Cruz
Livre de vírus. www.avg.com
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Post by Vitor Medina Cruz
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Hi,
spec
baseline: 'Magritte'
with: [ spec
loads: #('Seaside');
repository: 'github://magritte-metamodel/magritte:v3.5.3/source' ].
https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/blob/master/General/Baselines.md
--
Cyril Ferlicot
https://ferlicot.fr
Cyril Ferlicot D.
2018-11-28 17:15:27 UTC
Permalink
Post by Vitor Medina Cruz
Tried now, didn't work, same error. It is working for you?
I tried to load magritte only and I got the same problem. Maybe I do not
have it in my project because I load seaside before with an other group?

I think there was an issue that is fixed in the dev version of Seaside
about that. It should be in the next release.

You can try to add seaside yourself in your project. Something like:

baseline: spec
<baseline>
spec
for: #common
do: [
spec
baseline: 'Seaside3' with: [ spec repository:
'github://SeasideSt/Seaside/repository' ];
baseline: 'Magritte'
with: [ spec
loads: #('Seaside' 'Core');
repository:
'github://magritte-metamodel/magritte:v3.5.3/source' ].
spec package: 'Employees' with: [ spec requires: #('Seaside3'
'Magritte') ] ]
--
Cyril Ferlicot
https://ferlicot.fr
Vitor Medina Cruz
2018-11-28 18:45:33 UTC
Permalink
"I tried to load magritte only and I got the same problem. Maybe I do not
have it in my project because I load seaside before with an other group?"
Probably

"You can try to add seaside yourself in your project. Something like:"
I will try that :(
Post by Vitor Medina Cruz
Tried now, didn't work, same error. It is working for you?
I tried to load magritte only and I got the same problem. Maybe I do not
have it in my project because I load seaside before with an other group?
I think there was an issue that is fixed in the dev version of Seaside
about that. It should be in the next release.
baseline: spec
<baseline>
spec
for: #common
do: [
spec
'github://SeasideSt/Seaside/repository' ];
baseline: 'Magritte'
with: [ spec
loads: #('Seaside' 'Core');
'github://magritte-metamodel/magritte:v3.5.3/source' ].
spec package: 'Employees' with: [ spec requires: #('Seaside3'
'Magritte') ] ]
--
Cyril Ferlicot
https://ferlicot.fr
Vitor Medina Cruz
2018-11-30 23:32:36 UTC
Permalink
It worked, appears to be an error with Magritte so.

I wish I had this page describing how to use Baselines three months ago! It
is VERY well made. :)
"I tried to load magritte only and I got the same problem. Maybe I do not
have it in my project because I load seaside before with an other group?"
Probably
"You can try to add seaside yourself in your project. Something like:"
I will try that :(
On Wed, Nov 28, 2018 at 3:22 PM Cyril Ferlicot D. <
Post by Vitor Medina Cruz
Tried now, didn't work, same error. It is working for you?
I tried to load magritte only and I got the same problem. Maybe I do not
have it in my project because I load seaside before with an other group?
I think there was an issue that is fixed in the dev version of Seaside
about that. It should be in the next release.
baseline: spec
<baseline>
spec
for: #common
do: [
spec
'github://SeasideSt/Seaside/repository' ];
baseline: 'Magritte'
with: [ spec
loads: #('Seaside' 'Core');
'github://magritte-metamodel/magritte:v3.5.3/source' ].
spec package: 'Employees' with: [ spec requires: #('Seaside3'
'Magritte') ] ]
--
Cyril Ferlicot
https://ferlicot.fr
Loading...