[Vm-dev] SqueakVMPathAnswersResources preference

Eliot Miranda eliot.miranda at gmail.com
Sun Jul 31 18:55:01 UTC 2011

Hi Bert,

On Sun, Jul 31, 2011 at 10:52 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:

> On 31.07.2011, at 19:18, Eliot Miranda wrote:
> > Hi All,
> >
> >     I just added code to the Cog branch for the Mac VM so that whether
> primVmPath/primitiveVMPath answers the directory containing the VM.app or
> answers the Resources directory within the .app is controlled by the
> SqueakVMPathAnswersResources preference in the Info.plist file.  primVmPath
> is used to determine where to derive the sources file from.
> Among other places.
> >  By default primVmPath answers the directory containing the VM.app and
> therefore the sources file is at the same level, e.g.
> /Applications/Squeak.app & /Applications/SqueakV41.sources.  But some
> installations (e.g. Newspeak and the EToys all-in-one) may find it more
> convenient to put the sources in VM.app/Contents/Resources.
> That's what Etoys does, of course.
> > This means one file to install, not 2, etc.  I think it useful that this
> behavior be in the standard VM.  Esteban, if you agree, perhaps you could
> integrate into the trunk platforms/Mac OS?
> Not opposed to the change, but it's unnecessary for all-in-ones like Etoys.
>  The Squeak logic to open the sources file looks in the image directory
> anyway, which is the Resources folder.

I didn't find this code when I looked yesterday.  Can you spell this out for

> - Bert -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110731/587b5220/attachment.htm

More information about the Vm-dev mailing list