[squeak-dev] Loading Seaside: adding extensions

Tobias Pape Das.Linux at gmx.de
Mon Dec 9 20:47:50 UTC 2019


> On 09.12.2019, at 21:18, tim Rowledge <tim at rowledge.org> wrote:
> 
> Some time back (actually, eek, a year) I was asking about installing Seaside and we had much fun  but eventually made it possible. Now I would like to add the REST package but can't find a clear, working, recipe.
> 
> The Seaside repository simply refers to 'loading a group' which seems to be something metacello related. 

Yes.

Metacello new
	configuration: 'Seaside3';
	smalltalkhubUser: 'Seaside' project: 'MetacelloConfigurations';
	load: #('OneClick' 'Security' 'Filesystem' 'Email' 'RSS' 'REST').



> Looking through the classes loaded as part of Seaside I found the class comments for BaselineOfSeaside3 that seem to suggest that using 
> 	BaselineOfSeaside3  project 
> 		load: #('Examples').
> 
> is the form to use. Unfortunately trying that with 'REST' fails in MetacelloProject>>#lookupVersion:ifAbsent: - as does the 'Examples' shown.
> 
> Further confusing is the way that the #baseline: method seems to expect the REST (and a lot of other stuff) to be loaded by default. Clearly I'm missing some important information her; where is a good explanation that might help?

First, I'd still suggest to use the Configuration, the Baseline settles and might be usable but I have only tried the Configuration.

Then, using ConfigurationOf or BaselineOf classes directly might not result in the desired effect.
Using the Metacello class api directly should be safe.

I think the Metacello class itself is best to start looking around.

HTH
Best regards
	-Tobias



More information about the Squeak-dev mailing list