How does one choose to use a different image in Pharo, at least on a Mac?
I can't find a preference setting or menu option to load an earlier version, though I can go into the .app directory and manually start a specific image. Also, is there any way of working with different versions of the same package/classes in the same image? In other words, if I want to follow two different development paths, could I "sandbox" versions of package(s) in different projects and automatically switch between them when I switch projects? Or is there some other way of accomplishing this? The most obvious route is to reload or at least choose an image during the startup process, but I don't see how to even do that. Thanks. lawson _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
The one click image is a bundle.
u can open the bundle and change the image Now I suggest you install the vm and you double on your image. I do not use the oneclick because the package cache is inside and because I cannot decide what I execute easily Stef On Apr 15, 2010, at 9:45 PM, Lawson English wrote: > How does one choose to use a different image in Pharo, at least on a Mac? > > I can't find a preference setting or menu option to load an earlier version, though I can go into the .app directory and manually start a specific image. > > > Also, is there any way of working with different versions of the same package/classes in the same image? > > In other words, if I want to follow two different development paths, could I "sandbox" versions of package(s) in different projects and automatically switch between them when I switch projects? > > Or is there some other way of accomplishing this? The most obvious route is to reload or at least choose an image during the startup process, but I don't see how to even do that. > > Thanks. > > > lawson > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Stéphane Ducasse wrote:
> The one click image is a bundle. > u can open the bundle and change the image > Now I suggest you install the vm and you double on your image. > I do not use the oneclick because the package cache is inside and because I cannot decide what I execute easily > > it should be easy to create an applescript shell that would launch first and let you choose which image you wanted to start with. Maybe some other command line parameters could be selected at that point also? I'm not sure what you mean about the package cache though. Does the VM use the cache in the .app directory differently than when it appears it the regular directory? Lawson _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Apr 15, 2010, at 10:24 PM, Lawson English wrote: > Stéphane Ducasse wrote: >> The one click image is a bundle. >> u can open the bundle and change the image >> Now I suggest you install the vm and you double on your image. >> I do not use the oneclick because the package cache is inside and because I cannot decide what I execute easily >> >> > it should be easy to create an applescript shell that would launch first and let you choose which image you wanted to start with. Maybe some other command line parameters could be selected at that point also? probably but not for me. If you have it and it works we will happily include it. > I'm not sure what you mean about the package cache though. Does the VM use the cache in the .app directory differently than when it appears it the regular directory? > Mc creates a cache close to the image. > > Lawson > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On 15.04.2010 22:32, Stéphane Ducasse wrote:
> On Apr 15, 2010, at 10:24 PM, Lawson English wrote: > >> Stéphane Ducasse wrote: >>> The one click image is a bundle. >>> u can open the bundle and change the image >>> Now I suggest you install the vm and you double on your image. >>> I do not use the oneclick because the package cache is inside and because I cannot decide what I execute easily >>> >>> >> it should be easy to create an applescript shell that would launch first and let you choose which image you wanted to start with. Maybe some other command line parameters could be selected at that point also? > probably but not for me. > If you have it and it works we will happily include it. > >> I'm not sure what you mean about the package cache though. Does the VM use the cache in the .app directory differently than when it appears it the regular directory? >> > Mc creates a cache close to the image. > >> Lawson repository, that way you can easily load different branches after start up into the base image provided with the bundle. ;) You'd probably want to truncate the changes after startup once in a while doing that though, both because I don't think 1.0 had the changes for .changes file > 32MB, and there'd be less to wade through if you had to recover lost changes some time. Cheers, Henry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Stéphane Ducasse
Stéphane Ducasse wrote:
> On Apr 15, 2010, at 10:24 PM, Lawson English wrote: > > >> Stéphane Ducasse wrote: >> >>> The one click image is a bundle. >>> u can open the bundle and change the image >>> Now I suggest you install the vm and you double on your image. >>> I do not use the oneclick because the package cache is inside and because I cannot decide what I execute easily >>> >>> >>> >> it should be easy to create an applescript shell that would launch first and let you choose which image you wanted to start with. Maybe some other command line parameters could be selected at that point also? >> > probably but not for me. > If you have it and it works we will happily include it. > > tell application "Finder" set myal to folder "Resources" of folder "Contents" of application file "Pharo-1.0.app" of folder "Desktop" of folder "lawsonenglish" of folder "Users" of startup disk open (choose file of type "image" default location myal as alias) end tell Not sure how to set the default behavior to call that script when the icon is double-clicked nor how to hide unwanted file names but it sorta works :-/. >> I'm not sure what you mean about the package cache though. Does the VM use the cache in the .app directory differently than when it appears it the regular directory? >> >> > > Mc creates a cache close to the image. > How is this a problem. Is there a way to chose the files to use? Lawson _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |