[squeak-dev] Re: Spur vs Cog: FileDirectory paths

Chris Muller asqueaker at gmail.com
Wed Sep 10 21:48:44 UTC 2014


I didn't test it but, just eye-balling it, it looks like that crap
code can be replaced with:

    ^ (self directory / 'packages' / aPackageRelease package id
asString36 / aPackageRelease automaticVersionString) assureExistence

.. but don't know whether that will dodge the Spur VM issue or not..



On Wed, Sep 10, 2014 at 4:36 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
> So this is getting in between me and running/testing external packages
> on Spur. The snippet above comes from SqueakMap
> (SMFileCache>>directoryForPackageRelease:), so maybe there's a
> workaround we can do just by changing how that method uses
> FileDirectory?
>
> (Although it does concern me that different VMs are behaving so differently.)
>
> frank
>
> On 9 September 2014 17:47, Frank Shearar <frank.shearar at gmail.com> wrote:
>> On 9 September 2014 17:45, Frank Shearar <frank.shearar at gmail.com> wrote:
>>> On Cog, we have:
>>>
>>> FileDirectory default on:
>>> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
>>> => DosFileDirectory on
>>> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
>>>
>>> but on Spur, we have:
>>>
>>> FileDirectory default on:
>>> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
>>>  => DosFileDirectory on
>>> 'C:\Users\frsheara\squeak-ci\target\C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
>>>
>>> Obviously, they can't _both_ be right.
>>
>> (Cog r3072, natch)
>>
>> frank
>


More information about the Squeak-dev mailing list