<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 18, 2015, at 13:35, Hamda Binte Ajmal <<a href="mailto:hamda.binte.ajmal@gmail.com" class="">hamda.binte.ajmal@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">To be more specific<div class=""><br class=""></div><div class="">The load statement looks like</div><div class="">(load "jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/aima/quicklisp/setup.lisp")<br class=""></div><div class=""><br class=""></div><div class="">and the error thrown is</div><div class=""><div class=""><br class=""></div><div class="">"Unhandled lisp condition: Can't ensure directory</div><div class=""> #P"jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/./" </div><div class="">ancestor of</div><div class=""> #P"jar:file:C:/Users/Administrator.NUIG-1Z7HN12/Documents/NetBeansProjects/Interface/dist/Profet.jar!/cache/asdf-fasls/07y1rt/asdf.abcl"."</div></div></div></div></blockquote></div><div class=""><br class=""></div><div class="">[On the road until later today so just a brief reply]</div><div class=""><br class=""></div><div class="">I think you *are* loading setup.lisp from the jar, and that it contains load-time code that is producing these errors. To verify that this is indeed the case, I would suggest creating a file with a very simple form, such as </div><div class=""><br class=""></div><div class=""> (format t “Hello Jar World!~&”) </div><div class=""><br class=""></div><div class="">to see if that indeed loads. Then, you know you are successfully loading lisp code from a jar, so what remains is to figure out what the problem is when the rest of your code executes within the jar.</div><div class=""><br class=""></div><div class="">I believe that your error is the result of ASDF attempting to write a fasl in the jar, which is odd as ASDF has ABCL-specific code which should creates the necessary output translation from a jar (which is not a valid target of writes) to the local filesystem. What’s odd here is that you seem to be using a different version of “asdf.lisp” than what ships with ABCL. Or is this Quicklisp attempting to install ASDF? </div><div class=""><br class=""></div><div class="">Any chance of getting a build recipe for the JAR file you are creating here? Or, barring that, putting a binary up somewhere to inspect?</div><div class=""><br class=""></div><div class="">Setting CL:*LOAD-VERBOSE* to t in ~/.abclrc can also help you get idea of what is being loaded.</div><div class=""><br class=""></div><div class="">Back later,</div><div class="">Mark</div><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-- <br class="">"A screaming comes across the sky. It has happened before but there is nothing <br class="">to compare to it now.” <br class=""><br class=""><br class=""><br class=""><br class=""></div>
</div>
<br class=""></body></html>