[Pharo-project] InterfaceDiscoverer
Dear List, I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser. Shall I add this package to the ScriptLoader>>loadOB? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser.
What kind of dependencies? For Seaside we use Package-Dependencies from http://source.lukas-renggli.ch/unsorted/ to calculate static dependencies between packages and visualize them using GraphViz. The code takes some ideas from MudPie and Moose, but otherwise is a new completely implementation. Lukas -- Lukas Renggli http://www.lukas-renggli.ch
once moose will be running the package blueprint and the dsm will really help us for that too. Alex can you send me a screenshot of what you show? Stef On Sep 6, 2008, at 9:45 AM, Lukas Renggli wrote:
I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser.
What kind of dependencies?
For Seaside we use Package-Dependencies from http://source.lukas-renggli.ch/unsorted/ to calculate static dependencies between packages and visualize them using GraphViz. The code takes some ideas from MudPie and Moose, but otherwise is a new completely implementation.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Here we are: On 6 Sep 2008, at 09:48, Stéphane Ducasse wrote:
once moose will be running the package blueprint and the dsm will really help us for that too. Alex can you send me a screenshot of what you show?
Stef
On Sep 6, 2008, at 9:45 AM, Lukas Renggli wrote:
I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser.
What kind of dependencies?
For Seaside we use Package-Dependencies from http://source.lukas-renggli.ch/unsorted/ to calculate static dependencies between packages and visualize them using GraphViz. The code takes some ideas from MudPie and Moose, but otherwise is a new completely implementation.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ 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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
this is cool Darn I should finish moose :( Stef
On Sep 6, 2008, at 9:45 AM, Lukas Renggli wrote:
I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser.
What kind of dependencies?
For Seaside we use Package-Dependencies from http://source.lukas-renggli.ch/unsorted/ to calculate static dependencies between packages and visualize them using GraphViz. The code takes some ideas from MudPie and Moose, but otherwise is a new completely implementation.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ 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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi Lukas, Sorry to answer so late. I tried to load GraphViz, but a syntax error pops up. MacOSGraphVizGenerator>>runWithSystemFramework: string <> expected ->apicall: short 'system' (char*) module: 'System.framework'> ^ self externalCallFailed I used the last Pharo image with loadOB installed. Cheers, Alexandre On 6 Sep 2008, at 09:45, Lukas Renggli wrote:
I built a small extension to OB that display dependencies between class categories. Just load InterfaceDiscoverer from squeaksource, and click on a class category in an OB browser.
What kind of dependencies?
For Seaside we use Package-Dependencies from http://source.lukas-renggli.ch/unsorted/ to calculate static dependencies between packages and visualize them using GraphViz. The code takes some ideas from MudPie and Moose, but otherwise is a new completely implementation.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Sorry to answer so late. I tried to load GraphViz, but a syntax error pops up.
Did you try the GraphViz from the same repository?
MacOSGraphVizGenerator>>runWithSystemFramework: string <> expected ->apicall: short 'system' (char*) module: 'System.framework'>
^ self externalCallFailed
I used the last Pharo image with loadOB installed.
It seems to depend on FFI, but that functionality is not needed anyway. You can safely ignore that warning. The dependency package of mine will simply create an object model of the dependencies and optionally a GraphViz file that you have to convert to a png/svg/pdf from the command line yourself. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch
Did you try the GraphViz from the same repository?
Yes.
It seems to depend on FFI, but that functionality is not needed anyway. You can safely ignore that warning. The dependency package of mine will simply create an object model of the dependencies and optionally a GraphViz file that you have to convert to a png/svg/pdf from the command line yourself.
The only way I see to load GraphViz, is to download the .mcz file, uncompress it, remove the improperly written method from the .st file, and then to load it from Squeak. Is there something better to load it? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
The only way I see to load GraphViz, is to download the .mcz file, uncompress it, remove the improperly written method from the .st file, and then to load it from Squeak. Is there something better to load it?
Fix it in the debugger that pops up while loading. Or load FFI from SqueakMap. Lukas -- Lukas Renggli http://www.lukas-renggli.ch
No debugger shows up. I just have this little windows saying there is a syntax error. However, I was able to load GraphViz with having loaded FFI from SqueakMap. Thanks, Alexandre On 11 Sep 2008, at 15:51, Lukas Renggli wrote:
The only way I see to load GraphViz, is to download the .mcz file, uncompress it, remove the improperly written method from the .st file, and then to load it from Squeak. Is there something better to load it?
Fix it in the debugger that pops up while loading. Or load FFI from SqueakMap.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On 9/11/08, Alexandre Bergel <alexandre@bergel.eu> wrote:
No debugger shows up. I just have this little windows saying there is a syntax error.
You can edit source code in that gray little window and proceed from there ;-) Lukas -- Lukas Renggli http://www.lukas-renggli.ch
Oh! did not know that! Thanks for this! Alexandre On 11 Sep 2008, at 16:38, Lukas Renggli wrote:
On 9/11/08, Alexandre Bergel <alexandre@bergel.eu> wrote:
No debugger shows up. I just have this little windows saying there is a syntax error.
You can edit source code in that gray little window and proceed from there ;-)
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (4)
-
Alexandre Bergel -
Alexandre Bergel -
Lukas Renggli -
Stéphane Ducasse