Depending on something already in the image
Hi, my project depends on GTSpotter and GTInspector which are already in Pharo. How do I describe these dependencies in my ConfigurationOf so that Metacello does no load them? I did spec configuration: 'GTInspector' with: [ spec version: #stable; repository: 'http://smalltalkhub.com/mc/Moose/GToolkit/main/' ] but Metacello loaded many things (including Roassal2) -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
This is because the configurationOfGTInspector is not well done (it probably uses groups) but groups are evil :) May be damien you should depend on one of the group of GTInspector (if any). Normally we should getting Unit GTInspectorCore and a bundle GTInspector that may use by people to load everything. Le 21/9/15 05:17, Damien Cassou a écrit :
Hi,
my project depends on GTSpotter and GTInspector which are already in Pharo. How do I describe these dependencies in my ConfigurationOf so that Metacello does no load them? I did
spec configuration: 'GTInspector' with: [ spec version: #stable; repository: 'http://smalltalkhub.com/mc/Moose/GToolkit/main/' ]
but Metacello loaded many things (including Roassal2)
On 21-09-15 08:58, stepharo wrote:
This is because the configurationOfGTInspector is not well done (it probably uses groups) but groups are evil :)
Groups might be evil, but many configurations is worse :) You are depending on the wrong configurations. In Pharo 5 you need to depend on ConfigurationOfGTSpotter and ConfigurationOfGTInspectorCore Stephan
Stephan Eggermont <stephan@stack.nl> writes:
Groups might be evil, but many configurations is worse :) You are depending on the wrong configurations. In Pharo 5 you need to depend on ConfigurationOfGTSpotter and ConfigurationOfGTInspectorCore
thank you. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
Hi, GTInspector is well done :). If you only want what is in Pharo, you depend on GTInspectorCore. Cheers, Doru On Mon, Sep 21, 2015 at 8:58 AM, stepharo <stepharo@free.fr> wrote:
This is because the configurationOfGTInspector is not well done (it probably uses groups) but groups are evil :) May be damien you should depend on one of the group of GTInspector (if any). Normally we should getting Unit GTInspectorCore and a bundle GTInspector that may use by people to load everything.
Le 21/9/15 05:17, Damien Cassou a écrit :
Hi,
my project depends on GTSpotter and GTInspector which are already in Pharo. How do I describe these dependencies in my ConfigurationOf so that Metacello does no load them? I did
spec configuration: 'GTInspector' with: [ spec version: #stable; repository: 'http://smalltalkhub.com/mc/Moose/GToolkit/main/' ]
but Metacello loaded many things (including Roassal2)
-- www.tudorgirba.com "Every thing has its own flow"
participants (4)
-
Damien Cassou -
Stephan Eggermont -
stepharo -
Tudor Girba