[Glass] ServerBlocks and compiler issues
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Mon Apr 27 11:33:54 PDT 2015
Mariano,
That would help a bit in the short term, but in the longer term there
are a couple of different approaches:
1. for the SHOUT highlighting in tODE, I already import the list of
globals from the stone to Pharo, so I just need
to create a special workspace that catches the notification
compares the globals to the list ... a similar
trick could be applied to resolving message selectors (at the
cost of a round trip or two).
2. completely wire out the global/selector checking and let the
compiler in GemStone resolve things
3. ???
Thanks for the thought tough:)
Dale
On 04/27/2015 06:14 AM, Mariano Martinez Peck via Glass wrote:
>
>
> On Sat, Apr 25, 2015 at 6:02 PM, Sebastian Heidbrink via Glass
> <glass at lists.gemtalksystems.com
> <mailto:glass at lists.gemtalksystems.com>> wrote:
>
> Hi!
>
> I am in the process to dabble around with the newly released thin
> client related serverblocks [1].
>
> Some how I have trouble with the usage of alien class references
> and methods within the serverblocks.
> Given the code from the example:
>
> DevKitShell
> exportClassToServer: NeoCSVTestObject;
> onServerDo: [ System commitTransaction ].
>
> Pharo won't execute that code neither commitTransaction or System
> are defined in the image....
>
>
> To minimize this compiler issues, wouldn't it be easier for you to
> load the package MockGemStone into Pharo?
>
> http://seaside.gemtalksystems.com/ss/MockGemStone
>
>
> What am I doing wrong?
> Thanks
> Sebastian
>
>
> [1]
> https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/articles/gsDevKitServerBlocks.md
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> 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/20150427/3423a4ad/attachment.html>
More information about the Glass
mailing list