[armedbear-devel] Loading from jar - status

Mark Evenson evenson at panix.com
Sat Apr 3 06:42:40 UTC 2010


On 4/3/10 12:33 AM, Reinhard Oldenburg wrote:
> Dear ABCL-Team,
>
> some time a go the theme of loading compiled files from jar-archives has
> been discussed on this list but somehow I missed the final conclusion.
> There seems to be no example or documentaion of this feature. Especially
> I'm interested in loading Maxima from a jar file - is this possible?

Loading from jar files works pretty well as of abcl-0.19.1 according to 
what I have tested.  The only current documentation is the [design 
document][1], which should be transferred to a more end user document, 
which I intended to do in a blog post to abcl-dev.  But I discovered 
that the original implementation would be more useful especially for 
loading from an OSGi context if one could also OPEN jar pathnames, and 
if one could open arbitrary URLs, which I am working on, so I was 
waiting until everything got implemented to present as a coherent package.

But as of abcl-0.19.1 forms like

   (load "jar:file:/a/b/foo.jar!/c/bar.lisp")

and

   (load "jar:http://example.org/abcl.jar!/e/baz.lisp")

definitely work:  we use them in our internal loading of abcl.jar FASLs.


[1]: 
http://trac.common-lisp.net/armedbear/browser/trunk/abcl/doc/design/pathnames/jar-pathnames.markdown



-- 
"A screaming comes across the sky.  It has happened before, but there
is nothing to compare to it now."




More information about the armedbear-devel mailing list