Metacello baseline loading from cmd
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
Hi Vitor,
Le 12 nov. 2018 à 19:53, Vitor Medina Cruz <vitormcruz@gmail.com> 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 <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
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=email&utm_source=link&utm_camp...> Livre de vÃrus. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_camp...>. <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler <cdrick65@gmail.com> wrote:
Hi Vitor,
Le 12 nov. 2018 à 19:53, Vitor Medina Cruz <vitormcruz@gmail.com> 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
Using directly the remote repository with https I got ZnTooManyRedirects :´( On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz <vitormcruz@gmail.com> 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=email&utm_source=link&utm_camp...> Livre de vÃrus. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_camp...>. <#m_9098696167481251908_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler <cdrick65@gmail.com> wrote:
Hi Vitor,
Le 12 nov. 2018 à 19:53, Vitor Medina Cruz <vitormcruz@gmail.com> 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
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@gmail.com> wrote:
Using directly the remote repository with https I got ZnTooManyRedirects :´(
On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz <vitormcruz@gmail.com> 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=email&utm_source=link&utm_camp...> Livre de vÃrus. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_camp...>.
<#m_2818603894744208060_m_9098696167481251908_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Nov 12, 2018 at 5:03 PM Cédrick Béler <cdrick65@gmail.com> wrote:
Hi Vitor,
Le 12 nov. 2018 à 19:53, Vitor Medina Cruz <vitormcruz@gmail.com> 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
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=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>.
<#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
participants (3)
-
Cédrick Béler -
Paul DeBruicker -
Vitor Medina Cruz