Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-16 Thread Paul DeBruicker
Can you post your baseline?







Vitor Medina Cruz wrote
> Ok, this error was due to a problem with my Metacello configuration. I am
> having a very hard time using metacello, spent almost all of yesterday
> trying to figure out a fix
> 
> On Mon, Nov 12, 2018 at 9:18 PM Vitor Medina Cruz 

> vitormcruz@

> 
> wrote:
> 
>> Using directly the remote repository with https I got ZnTooManyRedirects
>> :´(
>>
>> On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz 

> vitormcruz@

> 
>> wrote:
>>
>>> Thanks Cédrick, this partly worked because I also had a git repository,
>>> but I noted that if the .git folder is not present the procedure don't
>>> work
>>> as well. It, however, cannot load remote dependent projects or
>>> baselines,
>>> and thus fail. :(
>>>
>>>
>>>
>>>
>>> http://www.avg.com/email-signature?utm_medium=emailutm_source=linkutm_campaign=sig-emailutm_content=webmail;
>>> Livre
>>> de vírus. www.avg.com
>>> http://www.avg.com/email-signature?utm_medium=emailutm_source=linkutm_campaign=sig-emailutm_content=webmail;.
>>>
>>> <#m_2818603894744208060_m_9098696167481251908_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler 

> cdrick65@

>  wrote:
>>>
 Hi Vitor,

 Le 12 nov. 2018 à 19:53, Vitor Medina Cruz 

> vitormcruz@

>  a
 écrit :

 Hello,

 How do I load a baseline located at disk? I tried inside
 /home/vitormcruz/testpharo/:

 ./pharo Pharo.image eval "Metacello new baseline: 'Employees';
> repository: 'filetree://employees/pharo'; load: #(core)"
>

 But then I got:

 Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in
> */home/vitormcruz/testpharo/pharo-local/package-cache*
> filetree:///home/vitormcruz/testpharo/employees/pharo
>

 I use towel format.

 I could load from local repo by using something like:

 Metacello new
 baseline: 'ICTWorkbench';
 repository: 'gitlocal://../../iceberg/cdrick65/ICTWorkbench' ;
 load.

 Not sure if it’s the correct way.

 My git repo are in a common iceberg dir. I use the launcher, so iceberg
 dir is in the root Pharo dir (I changed the default).

 HTH,

 Cédrick






 And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:

 drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
> -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
> -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57
> BaselineOfEmployeesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees


  It is strange that it tried to access the local cache, is that
 correct?
 Im am using an Ubuntu 16 lst distribution.

 Regards,
 Vitor








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



Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-16 Thread Vitor Medina Cruz
Ok, this error was due to a problem with my Metacello configuration. I am
having a very hard time using metacello, spent almost all of yesterday
trying to figure out a fix

On Mon, Nov 12, 2018 at 9:18 PM Vitor Medina Cruz 
wrote:

> Using directly the remote repository with https I got ZnTooManyRedirects
> :´(
>
> On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz 
> wrote:
>
>> Thanks Cédrick, this partly worked because I also had a git repository,
>> but I noted that if the .git folder is not present the procedure don't work
>> as well. It, however, cannot load remote dependent projects or baselines,
>> and thus fail. :(
>>
>>
>>
>>
>> 
>>  Livre
>> de vírus. www.avg.com
>> .
>>
>> <#m_2818603894744208060_m_9098696167481251908_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler  wrote:
>>
>>> Hi Vitor,
>>>
>>> Le 12 nov. 2018 à 19:53, Vitor Medina Cruz  a
>>> écrit :
>>>
>>> Hello,
>>>
>>> How do I load a baseline located at disk? I tried inside
>>> /home/vitormcruz/testpharo/:
>>>
>>> ./pharo Pharo.image eval "Metacello new baseline: 'Employees';
 repository: 'filetree://employees/pharo'; load: #(core)"

>>>
>>> But then I got:
>>>
>>> Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in
 */home/vitormcruz/testpharo/pharo-local/package-cache*
 filetree:///home/vitormcruz/testpharo/employees/pharo

>>>
>>> I use towel format.
>>>
>>> I could load from local repo by using something like:
>>>
>>> Metacello new
>>> baseline: 'ICTWorkbench';
>>> repository: 'gitlocal://../../iceberg/cdrick65/ICTWorkbench' ;
>>> load.
>>>
>>> Not sure if it’s the correct way.
>>>
>>> My git repo are in a common iceberg dir. I use the launcher, so iceberg
>>> dir is in the root Pharo dir (I changed the default).
>>>
>>> HTH,
>>>
>>> Cédrick
>>>
>>>
>>>
>>>
>>>
>>>
>>> And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:
>>>
>>> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
 drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
 -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
 -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
 -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployeesdrwxrwxr
 -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees
>>>
>>>
>>>  It is strange that it tried to access the local cache, is that correct?
>>> Im am using an Ubuntu 16 lst distribution.
>>>
>>> Regards,
>>> Vitor
>>>
>>>
>>>


Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Using directly the remote repository with https I got ZnTooManyRedirects :´(

On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz 
wrote:

> Thanks Cédrick, this partly worked because I also had a git repository,
> but I noted that if the .git folder is not present the procedure don't work
> as well. It, however, cannot load remote dependent projects or baselines,
> and thus fail. :(
>
>
>
>
> 
>  Livre
> de vírus. www.avg.com
> .
> <#m_9098696167481251908_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler  wrote:
>
>> Hi Vitor,
>>
>> Le 12 nov. 2018 à 19:53, Vitor Medina Cruz  a
>> écrit :
>>
>> Hello,
>>
>> How do I load a baseline located at disk? I tried inside
>> /home/vitormcruz/testpharo/:
>>
>> ./pharo Pharo.image eval "Metacello new baseline: 'Employees';
>>> repository: 'filetree://employees/pharo'; load: #(core)"
>>>
>>
>> But then I got:
>>
>> Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in
>>> */home/vitormcruz/testpharo/pharo-local/package-cache*
>>> filetree:///home/vitormcruz/testpharo/employees/pharo
>>>
>>
>> I use towel format.
>>
>> I could load from local repo by using something like:
>>
>> Metacello new
>> baseline: 'ICTWorkbench';
>> repository: 'gitlocal://../../iceberg/cdrick65/ICTWorkbench' ;
>> load.
>>
>> Not sure if it’s the correct way.
>>
>> My git repo are in a common iceberg dir. I use the launcher, so iceberg
>> dir is in the root Pharo dir (I changed the default).
>>
>> HTH,
>>
>> Cédrick
>>
>>
>>
>>
>>
>>
>> And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:
>>
>> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
>>> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
>>> -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
>>> -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
>>> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployeesdrwxrwxr
>>> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees
>>
>>
>>  It is strange that it tried to access the local cache, is that correct?
>> Im am using an Ubuntu 16 lst distribution.
>>
>> Regards,
>> Vitor
>>
>>
>>


Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Thanks Cédrick, this partly worked because I also had a git repository, but
I noted that if the .git folder is not present the procedure don't work as
well. It, however, cannot load remote dependent projects or baselines, and
thus fail. :(




Livre
de vírus. www.avg.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler  wrote:

> Hi Vitor,
>
> Le 12 nov. 2018 à 19:53, Vitor Medina Cruz  a écrit
> :
>
> Hello,
>
> How do I load a baseline located at disk? I tried inside
> /home/vitormcruz/testpharo/:
>
> ./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository:
>> 'filetree://employees/pharo'; load: #(core)"
>>
>
> But then I got:
>
> Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in
>> */home/vitormcruz/testpharo/pharo-local/package-cache*
>> filetree:///home/vitormcruz/testpharo/employees/pharo
>>
>
> I use towel format.
>
> I could load from local repo by using something like:
>
> Metacello new
> baseline: 'ICTWorkbench';
> repository: 'gitlocal://../../iceberg/cdrick65/ICTWorkbench' ;
> load.
>
> Not sure if it’s the correct way.
>
> My git repo are in a common iceberg dir. I use the launcher, so iceberg
> dir is in the root Pharo dir (I changed the default).
>
> HTH,
>
> Cédrick
>
>
>
>
>
>
> And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:
>
> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
>> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
>> -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
>> -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
>> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployeesdrwxrwxr
>> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees
>
>
>  It is strange that it tried to access the local cache, is that correct?
> Im am using an Ubuntu 16 lst distribution.
>
> Regards,
> Vitor
>
>
>


Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Cédrick Béler
Hi Vitor,

> Le 12 nov. 2018 à 19:53, Vitor Medina Cruz  a écrit :
> 
> Hello,
> 
> How do I load a baseline located at disk? I tried inside 
> /home/vitormcruz/testpharo/:
> 
> ./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository: 
> 'filetree://employees/pharo'; load: #(core)"
> 
> But then I got:
> 
> Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in 
> /home/vitormcruz/testpharo/pharo-local/package-cache 
> filetree:///home/vitormcruz/testpharo/employees/pharo 
> 

I use towel format.

I could load from local repo by using something like:

Metacello new
baseline: 'ICTWorkbench';
repository: 'gitlocal://../../iceberg/cdrick65/ICTWorkbench' ;
load.

Not sure if it’s the correct way.

My git repo are in a common iceberg dir. I use the launcher, so iceberg dir is 
in the root Pharo dir (I changed the default).

HTH,

Cédrick




> 
> 
> And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:
> 
> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
> -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
> -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployeesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees
> 
>  It is strange that it tried to access the local cache, is that correct? Im 
> am using an Ubuntu 16 lst distribution.
> 
> Regards,
> Vitor
> 



[Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Hello,

How do I load a baseline located at disk? I tried inside
/home/vitormcruz/testpharo/:

./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository:
> 'filetree://employees/pharo'; load: #(core)"
>

But then I got:

Could not resolve: BaselineOfEmployees [BaselineOfEmployees] in
> */home/vitormcruz/testpharo/pharo-local/package-cache*
> filetree:///home/vitormcruz/testpharo/employees/pharo
>


And ls -la of /home/vitormcruz/testpharo/employees/pharo gives:

drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 16:21 .
> drwxrwxr-x 4 vitormcruz vitormcruz 4096 Nov 12 15:57 ..
> -rw-rw-r-- 1 vitormcruz vitormcruz 69 Nov 12 16:21 .filetree
> -rw-rw-r-- 1 vitormcruz vitormcruz 21 Nov 12 15:57 .propertiesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployeesdrwxrwxr
> -x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees


 It is strange that it tried to access the local cache, is that correct? Im
am using an Ubuntu 16 lst distribution.

Regards,
Vitor