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