Depending on something already in the image

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

Depending on something already in the image

Damien Cassou-2
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

Reply | Threaded
Open this post in threaded view
|

Re: Depending on something already in the image

stepharo
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)
>


Reply | Threaded
Open this post in threaded view
|

Re: Depending on something already in the image

Stephan Eggermont-3
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


Reply | Threaded
Open this post in threaded view
|

Re: Depending on something already in the image

Tudor Girba-2
In reply to this post by stepharo
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 <[hidden email]> 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)






--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: Depending on something already in the image

Damien Cassou-2
In reply to this post by Stephan Eggermont-3

Stephan Eggermont <[hidden email]> 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