[Cuis] Determining dialect programmatically
David T. Lewis
lewis at mail.msen.com
Sun Jan 27 13:52:37 CST 2013
On Sun, Jan 27, 2013 at 06:57:24PM +0000, H. Hirzel wrote:
>
> Thank you David for these examples, they are illustrative. In which
> repository do you keep the head (or upstream) of OSProcess. I'd like
> to have a look at the other compatibility methods you have written.
>
> --Hannes
>
OSProcess is at http://www.squeaksource.com/OSProcess. The latest version
is OSProcess-dtl.76.mcz, and the methods are on the class side of class
OSProcess in category 'version dependent'.
I am working now to make CommandShell (http://www.squeaksource.com/OSProcess)
work on Pharo 2.0. This will have more compatibility methods related to
file system differences, but the approach will be similar to what I did
with OSProcess.
In both cases, I am putting the version-dependent methods for the package
into a single class (either OSProcess or CommandShell) so that I can locate
them easily and find senders of version dependent methods. Hopefully the
updates for Cuis will mainly just require updates to these methods in the
'version dependent' category of OSProcess class.
Dave
More information about the Cuis
mailing list