<br><br><div class="gmail_quote">On Tue, Jan 3, 2012 at 10:39 AM, Dave Mason <span dir="ltr"><<a href="mailto:dmason@mason-rose.ca">dmason@mason-rose.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5">I have some code that generates code on the fly in user classes. I want them to stay in the image for efficiency reasons, but if the user class gets saved in Monticello, I don't want the generated code saved. I can obviously put the methods in some particular category - say *auto*generated*do*not*save*. But after looking at Monticello for a bit, I can't find where it decides what to save - if, for example, it ignores things in other categories.<br>
<br>
Any help appreciated - either "Yes, it ignores *foo*bar* category", or "Here's where to look in Monticello"</div></div></blockquote><div><span class="Apple-style-span" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div class="im" style="color:rgb(80,0,80)">
<div><br></div></div><div>The convention understood by Monticello is that categories that begin with *package- are part of package. e.g. in my image there's a protocol in class Object called "*VMMaker-translation support" that contains extensions on Object that are part of the VMMaker package. The methods there-in are saved only when the VMMaker package is saved, not when the Kernel package (which contains the class Object) is saved. </div>
<div><br></div><div>So to arrange that user classes are unaffected it is sufficient to add your code in some invented package, using the above convention, e.g. "*ThisIsNotARealMonticelloPackage-so dont worry about the methods here in" :) When Monticello is used to save the user's code these extensions will be ignored. The would only get saved if one tried to save the ThisIsNotARealMonticelloPackage package.</div>
<div><br></div><div>HTH</div></span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
Thanks ../Dave<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>