[Seaside] How to load the "real" core with Metacello in Pharo?

Philippe Marschall philippe.marschall at gmail.com
Thu Aug 18 10:05:39 UTC 2011


2011/8/18 Mariano Martinez Peck <marianopeck at gmail.com>:
>
>
> On Thu, Aug 18, 2011 at 11:53 AM, Philippe Marschall
> <philippe.marschall at gmail.com> wrote:
>>
>> 2011/8/18 Mariano Martinez Peck <marianopeck at gmail.com>:
>> > I think it has been discussed a while ago but I couldn't find it.
>> > So....just
>> > a quick question, how can I use Metacello to load a real core of
>> > Seaside?
>> > loading ConfigurationOfSeaside30 'core' takes like half an hour and
>> > install
>> > things like OB which I don't need at all (I don't need the UI for
>> > seaside
>> > adaptors if that is where it is needed).
>>
>> With metacello you currently can't. It also depends on what you call
>> the "real core". You might want something like this:
>>
>> Gofer new
>>  squeaksource: 'Seaside30';
>>  package: 'Grease-Core';
>>  package: 'Grease-Pharo-Core';
>>  package: 'Seaside-Core';
>>  package: 'Seaside-Pharo-Core';
>>  package: 'Seaside-Canvas';
>>  package: 'Seaside-Pharo-Canvas';
>>  package: 'Seaside-Session';
>>  package: 'Seaside-Component';
>>  package: 'Seaside-RenderLoop';
>>  package: 'Seaside-Flow';
>>  package: 'Seaside-Pharo-Flow';
>>  load.
>>
>
> Thanks to both. But how can I start the server this way? do that loads a
> seaside adaptor?
> because I tried to load Zinc-Seaside and do:
>
> ZnZincServerAdaptor new port: 8888; start
>
> But I receveied a #subclassResponsibility  in WAServerAdaptor >> isStopped

You additionally need:

"load Zinc Server (assuming it's not already in your image)"
Gofer new
squeaksource: 'ZincHTTPComponents';
package: 'Zinc-HTTP';
package: 'Zinc-Seaside';
load.

"Start Zinc"
(ZnZincServerAdaptor port: 8888)
codec: GRPharoUtf8Codec new;
start.

You can find all this stuff here [1]

 [1] https://github.com/renggli/builder/tree/master/scripts

Cheers
Philippe


More information about the seaside mailing list