Sport 2.031 with image startup/shutdown support
bwbadger at gmail.com
Fri Sep 7 07:08:47 UTC 2007
Thanks for that.
In future, I would like to ask that extensions to Sport be discussed
on comp.lang.smalltalk before they are added in and released.
We are reaching the point where any change to Sport will affect many
people and will require action from a number of other Sport developers
to keep the Sport API consistently implemented.
Of course discussing things up front may slow the speed with which
Sport can change, but perhaps that is a good thing at this point.
All the best,
On 06/09/07, Janko Mivšek <janko.mivsek at eranova.si> wrote:
> Dear Smaltalkers,
> I published a new Sport portability library which has now a portable
> support for image startup and shutdown tasks. This is useful for any
> cleanup you want to o before image is quit and for any work after image
> is started. For instance, a Swazoo web server will restart all its
> websites automatically after image start with help of those Sport
> startup methods.
> See class SpEnvironment, class methods in 'image startup/shutdown'
> Usage example:
> - SpEnvironment addImageStartupTask: [anObject restart] for: anObject
> - SpEnvironment addImageShutdownTask: [anObject stop] for: anObject
> You can find it on SqueakSource and Cincom public repository for VW.
> Best regards
> Janko Mivšek
> Smalltalk Web Application Server
Make the most of your skills - with OpenSkills
More information about the Squeak-dev