I'm interested in using batik to rasterize my svg images during ant
build. The batik website this can be done with the rasterizertask,
however in order to get that I need to get the batik source, rather than
the binaries. I do so, and the it says that I need to build
svgrasterizer, which I do with success. Then I go into
contrib/rasterizertask and it says that I need to build the task
according to the readme. the readme in there tells me that I need to
call "build compile". I attempt this, but it throws an error

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
<java stack trace>
Could not find the main class: org.apache.tools.ant.Main.  Program will
exit.

Some things that may help:
JAVA_HOME=C:\Progra~1\Java\jdk1.6.0_10
ANT_HOME=C:\Progra~1\ant
ANT_OPTS, BATIK_HOME, CLASSPATH, and CP are all not set.
(Progra~1 is the DOS shortcut for Program Files, but if I include the
spaces, it complains about "C:\Program does not exist". I'm not a fan of
Windows either, but it's what I have to work with)

>ant -version
Apache Ant version 1.7.1 compiled on June 27 2008


Please help fix this problem. I really don't understand why it can't
just work "out of the box".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to