[armedbear-devel] Tip: asterisks in classpaths
5 Jan
2010
5 Jan
'10
1:11 a.m.
Java 6 has a feature that can help with plugging external JARs into ABCL: If the classpath includes an asterisk, all JARs in the given directory are added. For example, I've created the directory ~/local/abcl for my ABCL installation that includes abcl.jar plus any other JARs I want to use. Then the following command automatically adds everything in that directory to the classpath and starts ABCL:
exec java -cp "$HOME/local/abcl/*" \ org.armedbear.lisp.Main \ "$@"
(The "exec" can probably be omitted) -- Axel.Rauschmayer@ifi.lmu.de http://www.pst.ifi.lmu.de/~rauschma/
5510
Age (days ago)
5510
Last active (days ago)
0 comments
1 participants
participants (1)
-
Axel Rauschmayer