<div dir="ltr">To be more specific<div><br></div><div>The load statement looks like</div><div>(load "jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/aima/quicklisp/setup.lisp")<br></div><div><br></div><div>and the error thrown is</div><div><div><br></div><div>"Unhandled lisp condition: Can't ensure directory</div><div> #P"jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/./" </div><div>ancestor of</div><div> #P"jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/cache/asdf-fasls/07y1rt/asdf.abcl"."</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 11:42 AM, Hamda Binte Ajmal <span dir="ltr"><<a href="mailto:hamda.binte.ajmal@gmail.com" target="_blank">hamda.binte.ajmal@gmail.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">Yes,<div>I placed the setup.lisp inside a folder inside the src folder, so I am assuming it is transferred to jar after building the project.</div><div>Yes, of course I substituted the paths!</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 11:38 AM, Pascal J. Bourguignon <span dir="ltr"><<a href="mailto:pjb@informatimago.com" target="_blank">pjb@informatimago.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span><blockquote type="cite"><div>On 18 Aug 2015, at 11:45, Hamda Binte Ajmal <<a href="mailto:hamda.binte.ajmal@gmail.com" target="_blank">hamda.binte.ajmal@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Hi,</div><div>I am sending this message again, as the last thread went a little too far.</div><div>I have developed a Java Application that runs lisp code at the back end, and I use ABCL for that.</div><div>Before using the lisp commands, I load a few .lisp files so that I can call the functions defined in those files.</div><div>Everything works fine as long as I run the application from Netbeans.</div><div>When I run the application from the jar file, it throws 'File not found error'.</div><div>as the lisp files are not a part of file system inside the project jar.</div><div>I tried to follow the suggestions given by Mark</div><div>(load <span style="font-size:12.8000001907349px">“jar:file:/absolute/path/to/</span><span style="font-size:12.8000001907349px">file.jar!/path/within/jar/</span><span style="font-size:12.8000001907349px">setup.lisp”)</span></div></div></div></blockquote><div><blockquote type="cite"><div dir="ltr"><div><span style="font-size:12.8000001907349px">It shows the same File not found error. Am i missing something here?</span></div></div></blockquote><div><div dir="ltr"><div><span style="font-size:12.8000001907349px"><br></span></div></div></div></div></span>Well, </div><div>1- did you include setup.lisp in the jar file?</div><div>2- did you substitute the paths in the suggestion given by Mark?</div><span><font color="#888888"><div><br></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">-- <br>__Pascal J. Bourguignon__<br><br><br></div></div>
</div>
<br></font></span></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Hamda Binte Ajmal<br>+92 344 550 7680<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Hamda Binte Ajmal<br>+92 344 550 7680<br></div>
</div>