loading lisp files from inside the java jar

Hamda Binte Ajmal hamda.binte.ajmal at gmail.com
Tue Aug 18 11:56:56 UTC 2015


[image: Inline image 1]

It is there, Yes I did check

On Tue, Aug 18, 2015 at 11:56 AM, Marco Antoniotti <marcoxa at cs.nyu.edu>
wrote:

> A .jar file is just a glorified .zip file.  You can inspect its contents
> and see whether the ‘setup.lisp’ file actually were there.
>
> MA
>
>
>
>
> > On Aug 18, 2015, at 13:42 , Hamda Binte Ajmal <
> hamda.binte.ajmal at gmail.com> wrote:
> >
> > Yes,
> > 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.
> > Yes, of course I substituted the paths!
> >
> > On Tue, Aug 18, 2015 at 11:38 AM, Pascal J. Bourguignon <
> pjb at informatimago.com> wrote:
> >
> >> On 18 Aug 2015, at 11:45, Hamda Binte Ajmal <
> hamda.binte.ajmal at gmail.com> wrote:
> >>
> >> Hi,
> >> I am sending this message again, as the last thread went a little too
> far.
> >> I have developed a Java Application that runs lisp code at the back
> end, and I use ABCL for that.
> >> Before using the lisp commands, I load a few .lisp files so that I can
> call the functions defined in those files.
> >> Everything works fine as long as I run the application from Netbeans.
> >> When I run the application from the jar file, it throws 'File not found
> error'.
> >> as the lisp files are not a part of file system inside the project jar.
> >> I tried to follow the suggestions given by Mark
> >> (load “jar:file:/absolute/path/to/file.jar!/path/within/jar/setup.lisp”)
> >> It shows the same File not found error. Am i missing something here?
> >
> > Well,
> > 1- did you include setup.lisp in the jar file?
> > 2- did you substitute the paths in the suggestion given by Mark?
> >
> >
> > --
> > __Pascal J. Bourguignon__
> >
> >
> >
> >
> >
> >
> > --
> > Hamda Binte Ajmal
> > +92 344 550 7680
>
> --
> Marco Antoniotti
>
>
>
>


-- 
Hamda Binte Ajmal
+92 344 550 7680
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20150818/d50e9e88/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 64487 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20150818/d50e9e88/attachment-0001.png>


More information about the armedbear-devel mailing list