metacello question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

metacello question

wernerk
Hi,
which method can i use to simulate eg a:
  (ConfigurationOfXXX project version: '1.0') load: 'something' .
so that when printing it, i can see which packages are loaded in which
order without actually loading those packages?
werner

Reply | Threaded
Open this post in threaded view
|

Re: metacello question

Mariano Martinez Peck
Hi. Try just a print of that. Example:
 ((ConfigurationOfXXX project version: '1.0') load: 'something') inspect.

If you don't want to load everything, and just simulate, then try:

 ((ConfigurationOfXXX project version: '1.0') record: 'something') inspect.

#record: that exactly the same as load: but it doesn't really load the packages.

Or take this:

(ConfigurationOfXXX project version: '1.0') record: 'something'.

but instead of doing a "do it", do a "print it"

Or....print this:

((ConfigurationOfXXX project version: '1.0') record: 'something') loadDirective.

HTH

Mariano



On Sat, May 7, 2011 at 3:30 PM, Werner Kassens <[hidden email]> wrote:
Hi,
which method can i use to simulate eg a:
 (ConfigurationOfXXX project version: '1.0') load: 'something' .
so that when printing it, i can see which packages are loaded in which order without actually loading those packages?
werner




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

Reply | Threaded
Open this post in threaded view
|

Re: metacello question

wernerk
thanks!
werner

Reply | Threaded
Open this post in threaded view
|

Re: metacello question

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
I will add that to the useless chapter and book :D

On May 7, 2011, at 3:37 PM, Mariano Martinez Peck wrote:

> Hi. Try just a print of that. Example:
>  ((ConfigurationOfXXX project version: '1.0') load: 'something') inspect.
>
> If you don't want to load everything, and just simulate, then try:
>
>  ((ConfigurationOfXXX project version: '1.0') record: 'something') inspect.
>
> #record: that exactly the same as load: but it doesn't really load the packages.
>
> Or take this:
>
> (ConfigurationOfXXX project version: '1.0') record: 'something'.
>
> but instead of doing a "do it", do a "print it"
>
> Or....print this:
>
> ((ConfigurationOfXXX project version: '1.0') record: 'something') loadDirective.
>
> HTH
>
> Mariano
>
>
>
> On Sat, May 7, 2011 at 3:30 PM, Werner Kassens <[hidden email]> wrote:
> Hi,
> which method can i use to simulate eg a:
>  (ConfigurationOfXXX project version: '1.0') load: 'something' .
> so that when printing it, i can see which packages are loaded in which order without actually loading those packages?
> werner
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>