> We do this in an ugly, pragmatic way.<br>> Start the system with all modules available, run the test suite, then<br>> code:all_loaded()<br><br>Hah I love that way, its pretty hacky but makes sense, thanks.<br><br>
<div class="gmail_quote">2011/6/20 Håkan Mattsson <span dir="ltr"><<a href="mailto:hm@tail-f.com">hm@tail-f.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Jun 20, 2011 at 1:46 AM, Dale Harvey <<a href="mailto:dale@arandomurl.com">dale@arandomurl.com</a>> wrote:<br>
> I have seen this mentioned a few times but no answers as yet<br>
><br>
> Has anyone written any code that takes an application and strips the otp<br>
> libraries to the absolute minimum amount of modules* needed to run that<br>
> application?<br>
<br>
</div>Use the {mod_cond, derived} setting in reltool.<br>
<font color="#888888"><br>
/Håkan<br>
</font></blockquote></div><br>Ah this is perfect thanks, unfortunately the codebase isnt setup to be packaged by reltool, but thats the codebases problem since this is obviously the most sensible option.<br><br>Cheers<br>
Dale<br>