On 27 September 2012 17:12, Hubert Wagner <hdmw@sukiya.fr> wrote:
Hello List : I'm a Mac OSX user new to SmallTalk and Pharo.
I'd like to experiment with Designer but cannot work out how to load the package and open in Pharo.
The instructions here : https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/... produce the error below.
Using Metacello, just run the following code in your workspace:
(Installer mc http: 'http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/') project: 'MetacelloRepository'; install: 'ConfigurationOfDesigner'. (Smalltalk at: #ConfigurationOfDesigner) load.
Errors : Unknown variable Installer
Pharo don't have Installer. But there is Gofer which provides similar interface. Gofer new url: 'http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/MetacelloRepository'; package: 'ConfigurationOfDesigner'; load. (Smalltalk at: #ConfigurationOfDesigner) load. And it looks like Designer is targeting Squeak, so it may not work out of the box on Pharo (otherwise authors would provide loading instructions for Pharo as well). So, even if you will be able to load it successfully, there's no guarantee that it will work out of the box. Of course, it is better to contact project developers to know for sure.
Note : Further, I'm unsure what is implied by the instruction, "Using Metacelloâ¦" unless this merely refers to the second line of the script.
May I request a set of instructions one might characterize as "designed for a nine year old" !
You can load the configuration package manually, using Monticello UI.
From world menu (click on empty space on desktop) -> Monticello Browser, in opened window, click +Repository , and then select 'http' repository type, and after change the location of repository, i..e 'http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/MetacelloRepository'
after you do that, you can see it in a list of available repositories in Monticello browser, you just need to click on it, and then press 'open' button, and then select the package you need to load (in our case it will be ConfigurationOfDesigner), take the latest version of it available, and click load. After you loaded it , the only thing which is left is to load the configuration by doing : ConfigurationOfDesigner load. in workspace.
Regards : Hubert Wagner France
-- Best regards, Igor Stasenko.