On Fri, Jan 27, 2012 at 12:03 AM, Nick Ager <nick.ager(a)gmail.com> wrote:
Hi Davorin,
So to check how well the exporter will work with your existing kernel:
Ok so , as you have4 anticipated one source of problems with exporting
pier1 kernel was that exporter is dependent on Grease, and for some
reason I can not load Grease into my pier 1.1.1 image (metacello fails
to bootstrap itself).
So I have created Dummy GRObject, which let me load exporter package.
Next obstacle was that PRStructure was missing absolutePath method, so
I copied one from Pier2.
After that I had to implement greaseString on Object.
And here I think I have stuck, code generator spits the code with
syntax error, seems like way too many apostrophes smugle in:
mainenvironment
| structure |
structure := PRPage named: 'mainenvironment'.
structure title: #('_''M''a''i''n''
''E''n''v''i''r''o''n''m''e''n''t').
structure contents: #('<''d''i''v''
''c''l''a''s''s''=''"''c''o''n''t''a''i''n''e''r''"''>''\r''\t''+''/''e''n''v''i''r''o''n''m''e''n''t''/''h''e''
....
It could be because I do not have proper Grease, but more likely it
could also be result of using WAKomEncoded, and something funny going
on with unicode characters. So maybe it would be good idea if someone
has encoded 2.0 kernel to check with it, since maybe there is problem
also.
I do not have many pages, so I guess old fashioned manual migration
will also work :) What worries me is that I also have "live" counter
example inside pier blog, and I am not sure how and if will it make to
new pier with cookies (if I am understanding the discussion in other
thread about sessions)
For the new Pier3 does it work in Pharo 1.3 or 1.4?
Thanks!
Davorin Rusevljan
http://www.cloud208.com/