Sport 2.031 with image startup/shutdown support

Janko Mivšek janko.mivsek at eranova.si
Thu Sep 6 20:41:21 UTC 2007


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


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si



More information about the Squeak-dev mailing list