Normally I start Batik like this:
java -jar batik-1.5.1/batik.jar
but I've just noticed that I can't use any extensions.
This is intentional. The extensions are just that extensions, we want to ensure that users of Batik know when they have 'crossed the line'. In recent releases we include an 'extensions' directory which has jar files that will include the 'extension' jar on the class path (these jar files consist solely of an updated manifest). These jars must stay in the same relative directy tree from the rest of the batik Jars.
I found that the
Service class doesn't find the META-INF/services/* files to load the extensions. After playing around I found that if I use this command line:
CLASSPATH=batik-1.5.1/batik.jar:batik-1.5.1/lib/batik-extension.jar:$CLASSPATH \ java org.apache.batik.apps.svgbrowser.Main
then they do load. Why is this?
Thanks,
Cameron
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
