[Glass] Load Seaside30 in GLASS 3.1.0.6

Dale Henrichs dale.henrichs at gemtalksystems.com
Tue Jun 10 07:40:54 PDT 2014


>From the information you've supplied, you should use the following load
expression (I recognize the pattern):

GsDeployer bulkMigrate: [
  Metacello new
    configuration: 'Pier3AddOns';
    squeaksource: 'MetacelloRepository';
    version: #stable;
    load.
].

I've tried to discourage folks from using the `ConfigurationOfPier3AddOns
load` style of expression, because users should know what they are loading
... in this case the developer has obscured his real intention (which I
assume is the above load expression) and left it up to the user to figure
out what they should do if they want to adjust what or how the project is
loaded ... ah well ...

You should start with the chapter on Metacello in Pharo by Example written
by Stef and Mariano[1] and then for the new api read the User's Guide[2].

Dale

[1] http://pharobyexample.org/drafts/Metacello.pdf
[2]
https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md


On Tue, Jun 10, 2014 at 6:58 AM, Dario Trussardi <dario.trussardi at tiscali.it
> wrote:

> Ciao Dale,
>
> thanks,
>
> the Glass 3.1.0.6 is new, without any my  data.
>
> I would recommend loading using GsDeployer and a Metacello driver ...
>
>
> you intend:
>
> GsDeployer bulkMigrate: [
>   Metacello new
>     configuration: 'Pier3AddOns';
>     squeaksource: 'MetacelloRepository';
>     version: '3.0.3'
>     load: #('common').
> ].
>
> Is not clear what version: and load:  parameter   i need do.
>
>
> GsDeployer has an almoust out of memory handler built in which was your
> first error ... Seaside uses baselines in the configs, so one must use the
> Metacello drivers. Look at ConfigurationOfPier3AddOns class>>load to
> determine the version and the load list ... doing a bulkMigrate: defers
> class migration until all new class versions have been created and makes
> only one pass through the db to migrate instances ...
>
>
>   the ConfigurationOfPier3AddOns class>>load report:
>  "self load"
>  self project stableVersion load
>
> stable: spec
> <symbolicVersion: #stable>
>  spec for: #'common' version: '3.0.3'.
>
> Thanks for any considerations.
>
> Dario
>
> P.S. Where i can found documentations for understand the package
> management support ?
>
>
>
>
> On Tue, Jun 10, 2014 at 2:55 AM, Dario Trussardi <
> dario.trussardi at tiscali.it> wrote:
>
>> Ciao,
>>
>>         i have a new GLASS 3.1.0.6 image where i need to load ****
>> Seaside30 - Magritte - Pier Package,
>>
>>         In GLASS 3.1.0.4 i load all from Gemtools ( without error )  with
>> the command:
>>
>>
>>         A)      Gofer it
>>                 squeaksource: 'MetacelloRepository';
>>                 package: 'ConfigurationOfPier3AddOns';
>>                 load
>>
>>         B)      ConfigurationOfPier3AddOns load
>>
>>         Now when i do B into new GLASS 3.1.0.6 the system erase the error:
>>
>>                         Error: VM temporary object memory is full
>>                         , almost out of memory, too many markSweeps since
>> last successful scavenge
>>
>>
>>         Can anyone suggest the best method to load All   ***
>>
>>         Thanks,
>>
>>                 Dario
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140610/15a61ac0/attachment.html>


More information about the Glass mailing list