[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Weird callout issue
Le jeudi 21 octobre 2004, Alexander Karnstedt disait : I am not a Java guru, and, as expected for me... I cannot my it work on my Mac :-( I think I've insterstood the process. 1. I must add a jar file un my class path to use the foreach loop -> this is ant-contrib. 2. I need to compile batik wich is used to compile the "rasterizer'. The sources of "rasterizer" are part of batik. 3. Then with the "rasterizer" file in the correct place (somewhere in the classpath), i can use the build.xml file to generate de 15 callouts images. In fact the problem (for me) is in the preparation :-( >1) the contribute tasks from http://ant-contrib.sourceforge.net to use >"foreach" I've downloaded it and put a file named ant-contrib-1.0b1.jar in my ant lib directory (/Developer/java/Ant/lib) >2) a raterizer task to convert SVG to PNG using Apache Batik library (or >whatever) > >Apache Batik provides an Ant rasterizer task (unfortunately shipped only >as >source, not as binary) >please have a look at the Batik pages for further information how to use >it >http://xml.apache.org/batik/svgrasterizer.html#task I've downloaded batik (a file named batik-src-1.5.1.zip) which uncompressed gave me a folder xml-batik. Inside this folder I choose to build all batik with the command line : ant all-jar After the compilation, I found batik-1.5.1/lib/batik-all.jar Is this jar file is correct for batik ? By the way, I put this new jar in /Developer/Java/Ant (which is in my CLASSPATH), and try to compile the rasterizertask. In the batik folder there is a contrib/rasterizertask folder with a build.xml file. I try the command line ant jar to generate (I suppose) the rasterizertask jar file. But the compilation failed :-( The first error message is : [javac] /private/tmp/xml-batik/contrib/rasterizertask/sources/org/apache/tools/ ant/taskdefs/optional/RasterizerTask.java:22: package org.apache.batik.apps.rasterizer does not exist I'm sorry to distrub you with my stupid problem :-) Thanks for you help, Jacques -- Qui ne rote, ni ne pète est vouer à l'explosion. François Rabelais
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]