On 01 Oct 2010, at 01:48, Mariano Martinez Peck wrote:
- Is there an easy way to strip this image of dev tools et cetera?
Not really. The easiest way is to have a Configuration of Metacello that takes care of loading all your code with all your dependencies. Then, take a PharoCore and load your code there.
Pity, that. It would be a nice addition to Pharo I think...
In addition, you may want to evaluate "ScriptLoader cleanUpForProduction" at the end. Check the method to see what it does.
Thanks, I'll look at that.
- How can I make it so that I can distribute it without the changes file? (Right now the image complains of a missing changes file if it is not there ...)
I am aware of "Smalltalk abandonSources" to avoid using .sources. You won't see things like the temp names, and stuff will be decompiled instead.
OK I'll try that.
For the .changes you can start the image without them, there will raise a popup at the beginning. The problem is if you then do sometthing that should be written there. Not sure here...
Is there a way for this popup to be inhibited? Or can I just make a zero-line changes file and distribute that? I am assuming the users will not use a browser, and if they do get to that point they are experts and fully responsible for shooting themselves in the foot :-) -- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile