Re: [Pharo-users] Loading Metacello with Seaside

2018-11-27 Thread Cyril Ferlicot D.
Le 28/11/2018 à 00:08, Vitor Medina Cruz a écrit :
> Hello!
> 
> WIndows 10 here with Pharo 7 32 bits. Here is my baseline:
> 
> 
> baseline: spec
>    
>     
>    
>     spec for: #'common' do: [
>         spec blessing: #'baseline';
>          repository: 'gitlab://vitormcruz/employees:master/pharo/';
>                                                            
>          project: 'Magritte3' with: [ spec repository:
> 'github://magritte-metamodel/magritte:v3.5.3/source';
>           className:
> '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;
>                   repository:
> 'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
> 
> 
> I got:
> 
> "project group, or package named: 'Seaside-Pharo-Development' not
> found when used in requires: or includes: field of package:
> '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.
> 
> 
>   Livre de vírus. www.avg.com
> .
> 
> 
> <#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



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Loading Metacello with Seaside

2018-11-28 Thread 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. 
wrote:

> Le 28/11/2018 à 00:08, Vitor Medina Cruz a écrit :
> > Hello!
> >
> > WIndows 10 here with Pharo 7 32 bits. Here is my baseline:
> >
> >
> > baseline: spec
> >
> > 
> >
> > spec for: #'common' do: [
> > spec blessing: #'baseline';
> >  repository:
> 'gitlab://vitormcruz/employees:master/pharo/';
> >
> >  project: 'Magritte3' with: [ spec repository:
> > 'github://magritte-metamodel/magritte:v3.5.3/source';
> >   className:
> > '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;
> >   repository:
> > 'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
> >
> >
> > I got:
> >
> > "project group, or package named: 'Seaside-Pharo-Development' not
> > found when used in requires: or includes: field of package:
> > '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>
>
> 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
>
>


Re: [Pharo-users] Loading Metacello with Seaside

2018-11-28 Thread Vitor Medina Cruz
Tried now, didn't work, same error. It is working for you?

On Wed, Nov 28, 2018 at 8:34 AM Vitor Medina Cruz 
wrote:

> 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. <
> cyril.ferli...@gmail.com> wrote:
>
>> Le 28/11/2018 à 00:08, Vitor Medina Cruz a écrit :
>> > Hello!
>> >
>> > WIndows 10 here with Pharo 7 32 bits. Here is my baseline:
>> >
>> >
>> > baseline: spec
>> >
>> > 
>> >
>> > spec for: #'common' do: [
>> > spec blessing: #'baseline';
>> >  repository:
>> 'gitlab://vitormcruz/employees:master/pharo/';
>> >
>> >  project: 'Magritte3' with: [ spec repository:
>> > 'github://magritte-metamodel/magritte:v3.5.3/source';
>> >   className:
>> > '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;
>> >   repository:
>> > 'gitlab://vitormcruz/employees:master/pharo/'; load: #(core)
>> >
>> >
>> > I got:
>> >
>> > "project group, or package named: 'Seaside-Pharo-Development' not
>> > found when used in requires: or includes: field of package:
>> > '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>
>>
>> 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
>>
>>


Re: [Pharo-users] Loading Metacello with Seaside

2018-11-28 Thread Cyril Ferlicot D.
Le 28/11/2018 à 17:38, Vitor Medina Cruz a écrit :
> 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
  
  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



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Loading Metacello with Seaside

2018-11-28 Thread Vitor Medina Cruz
>
> "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. 
wrote:

> Le 28/11/2018 à 17:38, Vitor Medina Cruz a écrit :
> > 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
>   
>   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
>
>


Re: [Pharo-users] Loading Metacello with Seaside

2018-11-30 Thread Vitor Medina Cruz
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. :)

On Wed, Nov 28, 2018 at 4:45 PM Vitor Medina Cruz 
wrote:

> "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. <
> cyril.ferli...@gmail.com> wrote:
>
>> Le 28/11/2018 à 17:38, Vitor Medina Cruz a écrit :
>> > 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
>>   
>>   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
>>
>>