[Pharo-project] Q: is there a way to get the classes referenced by a class?
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
El lun, 01-03-2010 a las 15:58 -0300, Esteban Lorenzano escribió:
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
Check this thread: It hast tools from Lukas and from Hernán Morales Cheers -- Miguel Cobá http://miguel.leugim.com.mx
which one? On 2010-03-01 16:02:33 -0300, Miguel Enrique Cobá Martinez <miguel.coba@gmail.com> said:
El lun, 01-03-2010 a las 15:58 -0300, Esteban Lorenzano escribió:
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
Check this thread:
It hast tools from Lukas and from Hernán Morales
Cheers
El lun, 01-03-2010 a las 16:14 -0300, Esteban Lorenzano escribió:
which one?
Sorry :)
Check this thread:
It hast tools from Lukas and from Hernán Morales
http://lists.squeakfoundation.org/pipermail/magma/2010-January/001493.html -- Miguel Cobá http://miguel.leugim.com.mx
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 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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Thank you, Miguel and Alexandre... I'm looking into it :) Cheers, Esteban On 2010-03-01 16:59:23 -0300, Alexandre Bergel <alexandre@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Look the DependencyWalker of hernan morales. Look his class side method extensions to Behavior. There is all you need cheers mariano On Mon, Mar 1, 2010 at 9:28 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
Thank you, Miguel and Alexandre... I'm looking into it :)
Cheers, Esteban
On 2010-03-01 16:59:23 -0300, Alexandre Bergel <alexandre@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I found that very useful....I need it too, O2 too....shouldn't we add this to Class protocol ? On Tue, Mar 2, 2010 at 10:50 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Look the DependencyWalker of hernan morales. Look his class side method extensions to Behavior. There is all you need
cheers
mariano
On Mon, Mar 1, 2010 at 9:28 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
Thank you, Miguel and Alexandre... I'm looking into it :)
Cheers, Esteban
On 2010-03-01 16:59:23 -0300, Alexandre Bergel <alexandre@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Alexandre Bergel -
Esteban Lorenzano -
Mariano Martinez Peck -
Miguel Enrique Cobá Martinez