On 21 January 2011 17:49, Andrew Black <t-ablack@microsoft.com> wrote:
Let me try asking this another way. Â Will someone who knows how to do Pharo development on Windows please tell me how to organize my files so that Pharo works? Â Obviously, leaving the files where they are in the unzipped install package does not work. Â How should I organize things so that Pharo can actually save an image, shut down, and then open it again? Â Where should I put the VM Â relative to the other files. Â How is the initial current directory chosen?
i usually put vm in same dir as image(s) and so i either use command-line tool or run VM and choose which image to open in dialog it opens
I've been developing in Squeak for more than 10 years. Â I now about images and changes and sources and Monticello and so on. Â I just know nothing at all about Windoze.
How can it be so hard?
i don't know what hard you found there.. its simple. P.S. check the 'squeak.ini' file located nearby the VM, it could contain the evil defaultImage='foo/bar/image.image' which makes your VM deaf to any image name passed as argument from command line. :)
  Andrew
-----Original Message----- From: pharo-users-bounces@lists.gforge.inria.fr [mailto:pharo-users-bounces@lists.gforge.inria.fr] On Behalf Of Andrew Black Sent: 21 January 2011 14:04 To: Pharo Users (pharo-users@lists.gforge.inria.fr) Subject: Re: [Pharo-users] Pharo on Windows
How do I re-launch my Pharo image?
squeak.exe C:/pathToMyImage/myImage.image
or just copy your image to whereever you see fit and then run squeak.exe and when it asks which image to open, choose the one you prefer.
I tried that. Â The effect is the same as double-clicking the image file: it starts up the VM, which then tries to read the image as a UTF8 file, and gives me a walkback.
If I just launch the VM, it does NOT ask me which image to open. Â It opens Paharo.app\Contents\Resources\Pharo.image, and complains that it can't write the corresponding Pharo.changes. This is true even though I have moved the VM into another place on my disk (along with the sources and the image + changes files that I want it to open).
There is nothing wrong with the image file itself, btw. Â I copied it to my Mac on a memory stick, and was able to launch it and work in it for most of yesterday.
I'm at my wits end with this. Â Am I the first person to try the COG VM on Windoze?
  Andrew
-- Best regards, Igor Stasenko AKA sig.