<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="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-asdf.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/Library/world/site/cl-ppcre-1.3.2/cl-ppcre-test.asd</span></pre>
</td>
</tr>
<tr id="gmail-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/Library/world/site/slime-20180308-git/contrib/swank-media.lisp</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-trace-dialog.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-package-fu.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-presentations.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-repl.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-macrostep.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-fuzzy.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-util.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-c-p-c.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-fancy-inspector.fasl</span></pre>
</td>
</tr>
<tr id="gmail-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/2.20/allegro-10.1as-64bit-ics-linux-x86-64/contrib/swank-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"> (declare (ignore module))<br></div><div style="margin-left:80px"> 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!<br><br></div>- Mauro<br></div>