<div dir="ltr"><div><div><div>Hello,<br><br></div>Is anyone reading this?<br><br></div>Kind regards,<br><br></div>Mauro<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 15, 2018 at 12:34 PM, Mauro D'Agostino <span dir="ltr"><<a href="mailto:mdagostino@ravenpack.com" target="_blank">mdagostino@ravenpack.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>I'm trying to add a swank server on all of our lisp apps running on images. I want to have everything compiled and loaded, so when I start up the image I don't need to load any .fasl files.<br><br></div>I'm using ASDF to load swank and then running:<br><br></div><div style="margin-left:40px">(swank-loader:init :reload t :load-contribs t :quiet nil)<br></div><br></div>On image start up, I'm running:<br><br></div><div style="margin-left:40px">(setf swank::*loopback-interface* "0.0.0.0")</div></div><div><br></div><div style="margin-left:40px">(swank:create-server :port 4005 :dont-close t)<br></div><br></div>Swank starts up fine, but, when the first user tries to connect, it tries to load some .fasl files.<br><br><table style="font-size:1em;line-height:1.4em;font-weight:normal;font-style:normal;color:black" border="0" width="100%" cellspacing="0" cellpadding="0"><tbody><tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="line-height:1.4em;padding:0em;vertical-align:top"><pre style="font-size:1em;margin:10px 10px 0px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>asdf.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">;   Loading /home/mdagostino/workspace/<wbr>Library/world/site/cl-ppcre-1.<wbr>3.2/cl-ppcre-test.asd</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Loading /home/mdagostino/workspace/<wbr>Library/world/site/slime-<wbr>20180308-git/contrib/swank-<wbr>media.lisp</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>trace-dialog.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>package-fu.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>presentations.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">;   Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>repl.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>macrostep.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>fuzzy.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">;   Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>util.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">;   Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-c-<wbr>p-c.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>fancy-inspector.fasl</span></pre>
                        </td>
                </tr>
                                <tr id="m_-76827346988009556gmail-syntaxplugin_code_and_gutter">
                                                <td style="line-height:1.4em;padding:0em;vertical-align:top">
                                        <pre style="font-size:1em;margin:0px 10px 10px;width:auto;padding:0px"><span style="color:black;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>arglists.fasl
</span></pre></td></tr></tbody></table><br></div>I tried adding this after doing 'swank:create-server, but it doesn't work:<br><br><div style="margin-left:40px">(setf swank::*find-module* #'(lambda (module)<br></div><div style="margin-left:80px">                              <wbr>   (declare (ignore module))<br></div><div style="margin-left:80px">                              <wbr>   nil))</div><div style="margin-left:80px"><br></div>How can I make it so it doesn't look for those files? I would imagine they have already been compiled and loaded into the image. I'm using 'dumplisp to create the image.<br><br></div>Thanks in advance!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">- Mauro<br></font></span></div>
</blockquote></div><br></div>