On Tue, Dec 29, 2009 at 11:08 AM, Adrian Kuhn <[email protected]> wrote:
> Stéphane Ducasse <stephane.duca...@...> writes: > > > 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. > > They are pre- and postload code snippets. If you add 4 missing methods on > package info you get them in monticello (but sometimes they seem not to > execute when loading a package, so I gave up at that point...) > > > In metacello there is a preload and postload if I remember. > > How do I use metacello, any documentation / tutorial available? > http://code.google.com/p/metacello/wiki/Tutorial I would recommend the "Image-based Tutorial". If you want more examples you can check the http://www.squeaksource.com/MetacelloRepository Yes, Metacello does support post and pre doits but the problem is that it is only at package level, not project. Dale is aware of this and already put in his todo list to have pre a post scripts for a whole project. A simple hack is to put the post script to the last package. Cheers Mariano > > cheers, > 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
