[armedbear-devel] Re: One-jar

Alan Ruttenberg alanruttenberg at gmail.com
Fri Nov 15 18:07:09 UTC 2013

Thanks for the response!

I've been doing something like this too. Only issue is that there can be
manifest information from the different jars that might be important and
that there can be naming conflicts for files like licenses that need to be

I'll have a closer look at onejar when I get a chance.


On Fri, Nov 15, 2013 at 5:58 AM, Eric Marsden <eric.marsden at free.fr> wrote:

> >>>>> "me" == Mark Evenson <evenson at panix.com> writes:
>   me> No experience from my side with one-jar and ABCL.
>   me>
>   me> I would expect it to mostly work, as the JAR-PATHNAME abstraction
>   me> works underneath the covers with the correct JVM abstractions.
>   I've been using single-jar delivery (not including native libs) with
>   ABCL for a long time. The build does things like
> for jar in j abcl poi PDFRenderer iText jcommon jfreechart h2 cisd-jhdf5
> miglayout gnu-regexp
> do
>   unzip -q -d src -o ${JARDIR}/$jar.jar
> done
> cp -r ${SRCDIR}/pga src   # my sources
> cp ${SRCDIR}/../build/MANIFEST ${BUILDDIR}/src
> cd ${BUILDDIR}/src
> jar cfm ${TARGET} MANIFEST Main.class pga/*.class
> jar uf ${TARGET} org/armedbear/lisp/*.abcl
> for dir in org com ch ncsa net gnu
> do
>   find $dir -type f -print0 | xargs -0 jar uf ${TARGET}
> done
> --
> Eric Marsden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20131115/6161c9ec/attachment.html>

More information about the armedbear-devel mailing list