如何从cmd中的磁盘加载Metacello基准

时间:2018-11-14 12:18:39

标签: git pharo metacello

我正在使用Pharo 6.1 64位和Ubuntu 16 LTS。

如何加载位于磁盘上的Tonel格式的基准?我在/ home / vitormcruz / testpharo /内尝试过:

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

但是我得到了:

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

/ home / vitormcruz / testpharo / employees / pharo的ls -la给出:

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 .properties
drwxrwxr-x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 BaselineOfEmployees
drwxrwxr-x 2 vitormcruz vitormcruz 4096 Nov 12 15:57 Employees

奇怪的是它尝试访问本地缓存,对吗?

如果我使用gitlocal://而不是filetree://,只要存在.git文件夹(就没有必要...),它就可以找到基线类,但是Metacello无法加载在BaselineOf类上定义的远程依赖项失败,ZnTooManyRedirects

0 个答案:

没有答案