簡體   English   中英

Metacello說“這個包”?

[英]Metacello says “This package”?

我正在使用pharo 4.我剛安裝了一個加載其他配置的配置,我收到此錯誤:

This package depends on the following classes:
  GTExampleTestCase
  GTExampleFinder
You must resolve these dependencies before you will be able to load these definitions: 
  RTExampleFinder
  gtExampleInstance
  class:selector:method:to:
  newExample
  RTExampleTestCase
  packageNames

Select Proceed to continue, or close this window to cancel the operation.

我怎么知道哪個包是“這個”?

是的,這是一個已知的問題。 你可以做的是使用調試器將幾個幀返回到方法#loadWithNameLike: . 該方法的參數將是包的名稱。

在這個具體案例中,GTExampleFinder目前在GT-Inspector-Examples-Utils中。 當您在Pharo 4中安裝Roassal2時,您可能遇到一些麻煩。 Roassal2正在Pharo 5中開發,而Roassal2的Metacello配置不使用語義版本控制

如果您打開Transcript,則在發出警告時,您應該擁有其中的加載的當前詳細信息。 包加載應該在最后一行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM