[Seaside-dev] Seaside30Loader available

Dale Henrichs dale.henrichs at gemstone.com
Sun Sep 13 16:53:01 UTC 2009


Lukas,

I've got Seaside30Loader ready for you to start playing with.

Seaside30Loader uses Metacello and at the moment provides functionality similar to to LoadOrderTests. Run the following to load the package:

  ScriptLoader  
    loadLatestPackage: 'Seaside30Loader' 
    from: 'http://seaside.gemstone.com/ss/Seaside30'.

Seaside30Loader bootstraps Metacello before loading Seaside.

I haven't set up an initilaize method to automatically load Seaside, since I'm not completely sure what the expectations are. I added a handful of methods that I used for beating on Seaside30Config.

  Seaside30Config loadAndRunGroupTests.
  Seaside30Config loadLatestsAndRunGroupTests.

are equivalent to:

  SeasideLoadOrderTests new doLoad.
  SeasideLoaderOrderTests new doLoadNewest.

If you are looking to just load Seaside30 then you should use:

  Seaside30Config loadSeaside.
  Seaside30Config loadLatestSeaside.

There are two Metacello versions being managed: 'default' and 'development'. The 'default' version loads the latest version of each package. The 'development' version loads a list of fixed files. To update the 'development' version load the latest seaside and run:

  Seaside30Config updateDevelopmentPackageVersions

When you are ready to snap off a version like 3.0-beta.0, then you'd need to do the update and then copy the 4 version methods from 'development' edit them appropriately.

I've tested Seaside30Config on Pharo and the squeak trunk. I'll be updating Seaside30Config with the GemStone package information in the next couple of days. 

Seaside30Config is using version 0.16 of Metacello, which is still under development, but I'll release 0.16 after I get Seaside30Config working for GemStone.

During testing, I discovered that Javascript-Core depends upon Seaside-Canvas (extension methods for WATagBrush). This dependency is not reflected in WAPackage...

If you want to play, you can try loading various combinations of the groups like the following:

    Seaside30Config
      load: 'development'
      group: { 'Development'. 'AdminTools'. 'Email'. 'Scriptaculous'. }
      filterTranscript: false
      runTests: true

Let me know if there are problems loading or failing tests so I can fix any bugs/configuration issues.

Dale


More information about the seaside-dev mailing list