Re: [Pharo-users] How to execute code when after loading a package

2015-08-24 Thread Guillaume Larcheveque
you can also define your code in a class in the #initialize method (class
side)

2015-08-24 17:21 GMT+02:00 Mariano Martinez Peck marianop...@gmail.com:

 I know there was/is a way in Monticello itself, but I think it was never
 widely used. I think most common solution is to use #postLoadDoIt: at
 different levels (packages, groups, whole project, etc) of Metacello. But
 yeah, you need a Metacello conf for that.

 On Thu, Aug 20, 2015 at 4:11 PM, Julien Delplanque jul...@tamere.eu
 wrote:

 Hi all,

 I have a package for which I need to execute some code after it is loaded
 in an image.

 This package have no dependency so I don't know if it is possible to do
 it without using a baseline but I guess it's not.

 Thanks,

 Julien




 --
 Mariano
 http://marianopeck.wordpress.com




-- 
*Guillaume Larcheveque*


Re: [Pharo-users] How to execute code when after loading a package

2015-08-24 Thread Mariano Martinez Peck
I know there was/is a way in Monticello itself, but I think it was never
widely used. I think most common solution is to use #postLoadDoIt: at
different levels (packages, groups, whole project, etc) of Metacello. But
yeah, you need a Metacello conf for that.

On Thu, Aug 20, 2015 at 4:11 PM, Julien Delplanque jul...@tamere.eu wrote:

 Hi all,

 I have a package for which I need to execute some code after it is loaded
 in an image.

 This package have no dependency so I don't know if it is possible to do it
 without using a baseline but I guess it's not.

 Thanks,

 Julien




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-users] How to execute code when after loading a package

2015-08-24 Thread Julien Delplanque

OK, thanks for your answers :)

On 24/08/15 17:37, Guillaume Larcheveque wrote:

you can also define your code in a class in the #initialize method (class
side)

2015-08-24 17:21 GMT+02:00 Mariano Martinez Peck marianop...@gmail.com:


I know there was/is a way in Monticello itself, but I think it was never
widely used. I think most common solution is to use #postLoadDoIt: at
different levels (packages, groups, whole project, etc) of Metacello. But
yeah, you need a Metacello conf for that.

On Thu, Aug 20, 2015 at 4:11 PM, Julien Delplanque jul...@tamere.eu
wrote:


Hi all,

I have a package for which I need to execute some code after it is loaded
in an image.

This package have no dependency so I don't know if it is possible to do
it without using a baseline but I guess it's not.

Thanks,

Julien




--
Mariano
http://marianopeck.wordpress.com