Login  Register

Re: Loading code without adding to the changes file (was Re: The Trunk: System-cmm.1214.mcz)

Posted by timrowledge on Feb 25, 2021; 11:27pm
URL: https://forum.world.st/The-Trunk-System-cmm-1214-mcz-tp5126833p5127297.html

Plausible looking changeset for this; since it touches several packages it makes more sense to share a test version this way.




One minor oddity that might need altering is that the ClassDescription preference is on the instance side rather than the class side; this is checked for in the pragma/preference adding code and so I've ended up with class side methods for the actual preference setting & pragma but an instance side usage of the added class variable. It feels messy somehow but it does work.

If you disable 'Warn if no changes file', 'Warn if no sources file', 'Read document at startup', 'Log compilations to changes file' and load the DoItFirst package you can save an image, delete its changes and run a command like -
`squeak my.image -doit DoSomething &`
and have a server running that won't try to log any code being compiled.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Science adjusts its views based on what is observed. Faith denies observation so belief can be preserved




NoWriteChangeToFile.5.cs (4K) Download Attachment