On Dec 29, 2009, at 4:09 AM, Adrian Kuhn wrote: > It need to turn off system notifications for TestCase while gofer updates > SUnit. One way I see would be to execute some code snippet before and after > loading. However the Script button in Monticello seems to be broken. I cannot > add scripts to the package.
I **never** used scripts. I have no idea what they are (even if I guess) and more important the door that they open into a space that we do not control is dangerous. (Imagine people publishing a hell of scripts with no tool and metamodel support for them). So please do not use them. Use the model with have, class, method, package. In metacello there is a preload and postload if I remember. May be Gofer should have a silent: #TestCase > What can I do? > > So the current way to load akuhn SUnit is > > [SystemChangeNotifier uniqueInstance noMoreNotificationsFor: TestCase. > Gofer it > displabePackageCache; > squeaksource: 'akuhn'; > package: 'SUnit'; > package: 'SUnitGUI'; > load ] ensure: [ TestCase initialize ]. > > which is well ... quite ugly for a Gofer script. > > --AA > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
