Hi Beth,

> The build results in the following error message:
>
> C:\Program Files\Astoria Software\DITA-OT\build_general.xml:13: taskdef
> class org.apache.tools.ant.taskdefs.optional.RasterizerTask cannot be found

Oh no, not again! :-D

Probably you were not aware of it, but this was throughly discussed
[1] [2] a couple of months ago. At the time, I believe the problem
wasn't completely solved (at least Ism Avatar didn't confirm a
solution), but please refer to those threads for possible clues. ;-)


> ANT_HOME is set to
> ANT_HOME=C:\Program Files\Astoria Software\DITA-OT\tools\ant
>
> RasterizerTask.jar is located at $ANT_HOME\lib.

Well, the best hint I have right now is the spaces within you ANT_HOME
variable. Please consider replacing them (with something like
"C:\Progra~1\Astori~1\DITA-O~1\tools\ant" or similar (the path tilde
truncation number may vary). Also, you'll probably need to (locally)
apply the patch from bug 46227 [3], as there seems to be an issue with
the ant jar reference. Note that I'm assuming you are working with the
trunk source code [4].

Either way, you are able to workaround the issue (by following the
above recommendations or other), please share your solution so others
can benefit from it also.


> taskdef in the build_general.xml file is set to:
> <taskdef name="rasterize"
>
> classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask">
> </taskdef>

If nothing helps, please consider providing a simple test case. That
is, attach to a follow up (what I'd say it would be) a sample SVG
file, the Ant task definition and the command-line used, as well as
some environmental information such as operating system, Java version,
Batik version (or revision if working with the source code) and any
you may also find relevant. Being able to reproduce issues is (many
times) more then half way towards fixing it [5]. :-)


> Thanks for your help,
> Beth

Hope this helps,
 Helder


[1] http://www.nabble.com/Cannot-build-rasterizertask-tp20554617p20679393.html
[2] 
http://www.nabble.com/Re%3A-Cannot-build-rasterizertask-tp21009307p21367564.html
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=46227
[4] http://xmlgraphics.apache.org/batik/download.cgi#Subversion+repository
[5] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html#showmehow

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to