hi tim,

On 2012-12-03, at 20:07, Tim Mackinnon <[email protected]> wrote:

> Hi guys - I've been meaning to learn how to use XTreams and so I wanted to
> have a play in Pharo - however I am confused about how best to load it?
> 
> I want to stick to a stable image - so I downloaded the 1.4 summer edition
> from the website, and then the XTreams project page seemed to point me to
> Squeak source and the install instructions seem quite old? As in there are
> Gofer instructions which I'm not convinced load the most up to date code. If
> I try and load a later mcz file it starts complaining about unsatisfied
> pre-requisites?

Yes, XTreams has not been fully maintained over the last year(s?). 
Check the instructions below for installing. Keep in mind that the squeak/pharo
port is not fully up to date. There are quite some changes done to the original
xtreams which were not yet back-ported.

> I thought all this loading stuff was now sorted with metacello - but I don't
> see any references to this anywhere? Actually in typing this - it occurs to
> me that there was a welcome screen somewhere in Pharo that described how to
> load stuff so I've just gone and checked and found the
> MetacelloConfigurationBrowser - and now noticed there is an untrusted entry
> for XTreams. Is this how I'm suppposed to load it?

Right-click => Load Configuration
then you can try to install the latest version from there

        ConfigurationOfXtreams loadDevelopment

This is standard metacello knowledge, you will find more details in the 
PharoByExample Metacello Chapter: 
http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Metacello.pdf


> If it is - is there any way of getting the Squeak source instructions
> updated, or even better the XTreams project page to give better directions
> (as this would have saved me time).

The configuration part is pretty standard, however the configuration should 
be in the xtreams repository as well. So generally there are always two
locations to check where the configurations are
- in the repository under a package  ConfigurationOfXXX
- in the MetacelloRepositor which is accessible with the configuration browser

I hope that clarified things a bit.

Reply via email to