|
Re: saving image automatically: msg#00170lang.smalltalk.squeak.beginners
Norbert Hartl wrote: Hi,Norbert, This is going to sound stupid but my solution to this is to save twice. I do exactly what you describe in several of my image building scripts. Basically the sequence: MCFileBasedRepository flushAllCaches. RFBServer stop. SmalltalkImage current saveAs: 'something' SmalltalkImage current snapshot: true andQuit: true The reason that I do this is that snapshot:andQuit: has logic to make sure that when an image is restarted it doesn't quit. You could probably duplicate that logic but I found this solution to be more expedient. I'm eager to hear a better way :-) :-) David
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Display artifacts in comments/desc., subbukk |
|---|---|
| Next by Date: | ¿Which tool use to code collaboratively?, Offray Vladimir Luna Cárdenas |
| Previous by Thread: | Re: saving image automatically, Norbert Hartl |
| Next by Thread: | Re: saving image automatically, Norbert Hartl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |