Reputation: 11476
I want to execute this in the context of Pharo, was initially for Squeak.
Installer squeaksource
project: 'MetacelloRepository';
install: 'ConfigurationOfMagritte2'.
(Smalltalk at: #ConfigurationOfMagritte2) project latestVersion load: 'Magritte-Seaside'.
Upvotes: 2
Views: 81
Reputation: 6390
For anyone with the same question today, in Pharo 6.x - current (9.0 as of writing):
Metacello new
baseline: 'Magritte';
repository: 'github://magritte-metamodel/Magritte';
load
Upvotes: 0
Reputation: 15907
That won't result in working code in a recent version of Pharo. Magritte2 is old and unsupported. Use Magritte3. That is maintained on Smalltalkhub.
Upvotes: 1
Reputation: 4357
This code will work:
Gofer new
squeaksource: 'MetacelloRepository';
configurationOf: 'Magritte2';
load.
(Smalltalk at: #ConfigurationOfMagritte2) project latestVersion load: 'Magritte-Seaside'.
There are other ways, but this is the most "direct" translation :)
Upvotes: 4