Howdy,
I was wondering whether anyone had tried to use this with ABCL. Looks like a nice packaging solution but I'm not sure how it would interact with ABCL's classloader (yes I can try :) )
-Alan
---------- Forwarded message ---------- From: Blaisure, Jonathan jcblaisu@buffalo.edu Date: Wed, Nov 13, 2013 at 9:12 AM Subject: One-jar To: Alan Ruttenberg alanruttenberg@gmail.com
http://one-jar.sourceforge.net/
Might be useful.
-- Regards,
Jonathan Blaisure, MS ---------------------- *Database Administrator* *Institute for Health care Informatics* 716.878.2996
On 14 Nov 2013, at 1858 , Alan Ruttenberg alanruttenberg@gmail.com wrote:
Howdy,
I was wondering whether anyone had tried to use this with ABCL. Looks like a nice packaging solution but I'm not sure how it would interact with ABCL's classloader (yes I can try :) )
No experience from my side with one-jar and ABCL.
I would expect it to mostly work, as the JAR-PATHNAME abstraction works underneath the covers with the correct JVM abstractions.
"me" == Mark Evenson evenson@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
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 included.
I'll have a closer look at onejar when I get a chance.
-Alan
On Fri, Nov 15, 2013 at 5:58 AM, Eric Marsden eric.marsden@free.fr wrote:
"me" == Mark Evenson evenson@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
armedbear-devel@common-lisp.net