[Pharo-project] Q: is there a way to get the classes referenced by a class?
Mariano Martinez Peck
marianopeck at gmail.com
Tue Mar 2 04:50:01 EST 2010
Look the DependencyWalker of hernan morales. Look his class side method
extensions to Behavior. There is all you need
On Mon, Mar 1, 2010 at 9:28 PM, Esteban Lorenzano <estebanlm at gmail.com>wrote:
> Thank you, Miguel and Alexandre... I'm looking into it :)
> On 2010-03-01 16:59:23 -0300, Alexandre Bergel
> <alexandre at bergel.eu> said:
> > Hi Esteban,
> > I made a small extension of O2 that shows external dependencies. It is
> > not perfect, but I find it useful. I attached some screenshots.
> > The second screenshot shows that the package Network-Kernel has 6
> > methods that references the package ToolBuilder-Kernel.
> > Right clicking on the mondrian node opens a menu that enable you to
> > browse the method. I use this tool to make sure I do not have any
> > unwanted dependencies.
> > It works on PharoCore 1.1. To load it:
> > #('DependencyView')
> > do: [:t |
> > | name |
> > name := 'ConfigurationOf', t.
> > Gofer new
> > squeaksource: 'MetacelloRepository';
> > package: name;
> > load.
> > ((Smalltalk at: name asSymbol) project perform: #lastVersion) load
> > Cheers,
> > Alexandre
> > <image>
> > <image>
> > On 1 Mar 2010, at 15:58, Esteban Lorenzano wrote:
> >> Hi,
> >> I'm trying to get a "dependency map" of a certain project (playing
> >> with
> >> pavel's kernel image, I'm trying to figure out how to feed it with all
> >> needed dependences).
> >> What I'm doing now is very inneficient (usign #allCallsOn and
> >> reversing
> >> the search), and I'm sure there should be something better...
> >> Thanks,
> >> Esteban
> >> _______________________________________________
> >> Pharo-project mailing list
> >> Pharo-project at lists.gforge.inria.fr
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev