2

众所周知,Metacello 的第一个或主要目标是 Pharo,但现在似乎支持 Squeak 4。我已经尝试过,但由于缺少方法而失败。从成绩单:

Starting atomic load
    Loaded -> OSProcess-dtl.65 --- http://www.squeaksource.com/OSProcess --- cache
Finished atomic load
BaselineOf>>projectClass (MetacelloMCBaselineProject is Undeclared) 
ConfigurationOf>>versionNumberClass (MetacelloSemanticVersionNumber is Undeclared) 
Loaded -> Metacello-Base-dkh.103 --- http://seaside.gemstone.com/ss/metacello --- cache
MetacelloProjectRegistration>>version (MetacelloMCBaselineProject is Undeclared) 
MetacelloBaselineSpecGenerator>>projectSpecCreationBlock (MetacelloMCBaselineProject is Undeclared) 
Loaded -> Metacello-Core-dkh.667 --- http://seaside.gemstone.com/ss/metacello --- cache
Loaded -> Metacello-MC-dkh.666 --- http://seaside.gemstone.com/ss/metacello --- cache
Loaded -> Metacello-ToolBox-dkh.131 --- http://seaside.gemstone.com/ss/metacello --- cache
Loaded -> Metacello-FileTree-dkh.29 --- http://seaside.gemstone.com/ss/metacello --- cache
Loaded -> Metacello-GitHub-dkh.22 --- http://seaside.gemstone.com/ss/metacello --- cache
Evaluated -> 1.0-beta.32 [ConfigurationOfMetacello] >> metacelloPrimeRegistry
...finished 1.0-beta.32
...RETRY->ConfigurationOfMetacelloPreview
...RETRY->ConfigurationOfMetacelloPreview
gofer repository error: 'GoferRepositoryError: My subclass should have overridden #downloadFile:to:'...ignoring
...FAILED->ConfigurationOfMetacelloPreview

我正在使用 Squeak 4.4-12327 图像。对此有什么帮助吗?

4

3 回答 3

1

上述解决方案不再有效

你需要使用下面的代码来获取它

(Installer monticello http:'http://seaside.gemtalksystems.com/ss')
project: 'metacello';
install: 'ConfigurationOfMetacello'. 

((Smalltalk at: #ConfigurationOfMetacello) project 
  latestVersion) load.
于 2013-12-22T17:30:00.893 回答
1

我刚刚在 4.4 中运行了这个(如 Github 上的安装文档所建议的)并且没有任何问题:

Installer gemsource
project: 'metacello';
install: 'ConfigurationOfMetacello'. 

((Smalltalk at: #ConfigurationOfMetacello) project 
  version: '1.0-beta.32') load.

你用的是什么代码?

于 2013-01-01T22:02:50.237 回答
0

FWIW,到目前为止,Metacello 安装已集成到 Squeak 中,因为 Squeak 5.3(可能更早)。

要通过 UI 加载 Metacello,请打开主停靠栏中的应用程序菜单,然后选择首选项向导。按 Done,然后在下一个视图中,选择 Metacello 进行安装。

要从代码中加载 Metacello,请评估Metacello newInstaller ensureRecentMetacello在任何工作区/CodeHolder 中。

于 2020-10-12T19:00:41.863 回答