[Glass] Problem loading Magritte3 / Seaside3 in GemSone

Dale Henrichs dale.henrichs at gemtalksystems.com
Fri May 2 11:38:18 PDT 2014


On Fri, May 2, 2014 at 8:06 AM, Mariano Martinez Peck <marianopeck at gmail.com
> wrote:

>
> My problem is that the first option is quite hard because even if in my
> conf I do refer to Seaside3 3.0.9 and Magritte3 3.0.1 I have other
> references to other projects that are likely to load Seaside ... so my code
> ends up trying to load new versions of seaside and Magritte and hence these
> errors :(
>

Mariano,

This particular situation where:

    you load other projects that refer to a different version of Seaside
than
    the one that you want to use

is the reason that I invented the Metacello `lock` command[1].

However, as pointed out in this thread[2], the lock command in relation to
repositories and a ConfigurationOf, so if you are in the habit of making
local repositories containing all of your production mcz files, the lock
command doesn't quite fill the bill.

But I think that your current predicament can be address by `locking` the
versions of Seaside and perhaps other projects.

You must use the Metacello `get`[3] and `load`[4] commands to honor locked
projects.

Dale

[1]
https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md#locking
[2] https://groups.google.com/d/msg/metacello/zbbmjhHyEoU/ujt1gbxmmCoJ
[3]
https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md#getting
[4]
https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md#loading
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140502/2214f83a/attachment-0001.html>


More information about the Glass mailing list