[Seaside-dev] Metacello config for Seaside 3.0

Dale Henrichs dale.henrichs at gemstone.com
Sun Oct 11 17:33:41 UTC 2009

In the last several weeks I've been working feverishly to bring Metacello to beta and yesterday I finally made it:). 

Metacello sports a brand spanking new API that takes inspiration from Flair and constructive criticism from Doru:) In fact, the new API was driven by some of the awkwardness in the old API when configuring Seaside3.0.

To take the loader for a spin, load Seaside-Metacello-Configuration-dkh.11 from http://seaside.gemstone.com/ss/Seaside30. Once loaded, you can get started by trying the helper methods:

  SeasideConfiguration loadLatestPackages.

  SeasideConfiguration loadLatestVersion
  SeasideConfiguration loadLatestVersion: { <list of package names> }

#loadLatestPackages loads the latest version of each Seaside package.

#loadLatestVersion loads all of the packages associated with the 3.0.0-alpha5 release.

If you are interested in loading just a subset of the Seaside packages, you can use #loadLatestVersion: and pass in a list of packages like the following:

  SeasideConfiguration loadLatestVersion: 
    { 'Environment'. 'Flow'. 'Functional Tests'. 'Comanche'. }.

This is the set of packages I loaded to discover issue 484. In the above example I am using group names, but specific package names can be used as well - all of the dependents for that package are loaded.

Metacello 1.0-beta.1 has only been tested on Pharo and uses the latest version of Gofer. My next task will be to get Metacello 1.0-beta running on Squeak and when I do I will make sure that Seaside loads on Squeak as well. The challenge will be with Gofer, since I've had Metacello running on Squeak in the past:) 

After the Squeak port, I will port Gofer and Metacello to GemStone and resume the Seaside3.0 GemStone port.

I will be working on a tutorial for the new Metacello API over the next several weeks and until then you can look at MetacelloReferenceConfig which lists the full API for Metacello configurations.


More information about the seaside-dev mailing list