[Glass] FileSystem ported to GemStone yet?
Mariano Martinez Peck via Glass
glass at lists.gemtalksystems.com
Wed Nov 19 05:48:33 PST 2014
On Wed, Nov 19, 2014 at 10:09 AM, Pieter Nagel via Glass <
glass at lists.gemtalksystems.com> wrote:
> Has FileSystem been ported to GemStone yet?
>
> Or is there some other library that helps with maintaining portability of
> Pharo Seaside code (which uses FileReferences) vs GemStone code (which
> still uses FileDirectories)?
>
>
Hi,
As far as I know, no, it hasn't been ported yet. I think in the past, Dale
ported a version but soon after, Pharo changed the FileLibrary again and
the port got "outdated". But I might be wrong.
What I am doing (and I know some others as well), is to have a Portability
class which 2 concrete subclasses, one for Pharo, one for GemStone. Each
implements the abstract methods of the superclass according to their
platform.
If you want I can share with you my compatibility classes...they were based
(but I changed/added more stuff) on ones from Dale (I don't remember if
they were for Monticello or Git..) and ones from Sven (I think they were
for Zinc, but not sure).
I also have an extended "GemStone Compatibility" package that adds more
extension methods to GemStone base classes so that things that work in
Pharo do work too in GemStone.
Let me know if you want anything.
Cheers,
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20141119/735181f5/attachment.html>
More information about the Glass
mailing list