Le 02/09/2013 16:07, Stéphane Ducasse a écrit :
what we could do is to not deprecate now the methods?
Then we can deprecate them when we release 3.0
When starting pharo4? That would be perfect :)
I just noticed that Smalltalk os exist in 1.4 and 2.0. So my code should
work on an old image, isn't it? It would also work on 2.0 and 1.4, no?
(or something like (Smalltalk respondsTo: #os) ifTrue: [Smalltalk os name])
When was Smalltalk>>os introduced ?
Thierry
Stef
On Sep 2, 2013, at 2:21 PM, Goubier Thierry <thierry.goub...@cea.fr> wrote:
Stef,
a question then: how to check that I am on a pharo3 image which is newer than
2013-07-22 (since this is the date where the OSPlatform methods have been
deprecated) ?
If I write something like
(Smalltalk version beginsWith: 'Pharo3')
ifTrue: [ ^ Smalltalk os name ].
Then this code may fail on old Pharo3 images. Or should I test the presence of
os and vm as methods of Smalltalk?
Thanks,
Thierry
Le 02/09/2013 12:02, Stéphane Ducasse a écrit :
ok I read the big thread and what would be a solution?
On Sep 2, 2013, at 11:20 AM, Goubier Thierry <thierry.goub...@cea.fr> wrote:
Hi,
sometimes during the summer, a method used by OSProcess to determine the OS
Platform has been deprecated in Pharo 3.0. Is it possible to have a look into
updating OSProcess?
I'm still unable to use Pharo3.0 because of issue 11102, but I'd like to get
gitfiletree to work on it, and I think the main issue is OSProcess.
Thanks,
Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95