<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello list,</p>
<p><br>
</p>
<p>not sure if this is possible at all or if I am making a stupid error: I always had assumed that FileTree is a kind of mediator between Smalltalk code objects and file systems, so shouldn't it be possible to load code from a Pharo code structure (SomeClass.class.st
 files) into a Squeak code structure (SomeClass.class/someSelector.st) via Metacello?</p>
<p><br>
</p>
<p>Here is my concrete example: I would like to install <a href="https://github.com/svenvc/NeoJSON" class="OWAAutoLink">
NeoJSON</a> in Squeak, which <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
apparently </span>was written for Pharo. So I did this (in a fresh image)</p>
<p><br>
</p>
<p></p>
<div class="highlight highlight-source-smalltalk" style="box-sizing: border-box; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; background-color: rgb(255, 255, 255);">
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-radius: 3px; word-break: normal;"><span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">Metacello</span> <span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73);">new</span>
  <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">repository:</span> <span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">'</span>github://svenvc/NeoJSON/repository<span class="pl-pds" style="box-sizing: border-box;">'</span></span>;
  <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">baseline:</span> <span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">'</span>NeoJSON<span class="pl-pds" style="box-sizing: border-box;">'</span></span>;
  load.</pre>
<div><br>
</div>
</div>
<p></p>
<p>... but unfortunately, this gives me a <span>MetacelloPackageSpecResolutionError:</span></p>
<p><span><br>
</span></p>
<p><span><img size="94366" contenttype="image/png" id="img229186" style="max-width: 99.9%; user-select: none;" contextid="img701146" tabindex="0" src="cid:d9b17b5d-9aba-4b2a-9538-2891eb67f93f"><br>
</span></p>
<p><span><br>
</span></p>
<p><span>So this might be a general question: Did I misunderstood the mediator concept of FileTree or is there some specific error in either Metacello or this repo's configuration?</span></p>
<p>Some explanations would be highly welcome!</p>
<p><br>
</p>
<p>(PS: Not sure if I chose the right list for this question. If this should have gone to the Beginners list instead, please tell me and I will resend.)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
</body>
</html>