Bhatia Praveen, HCLT-Japan wrote:
> Ross:
> Thats a good information. I will also try to use
> FORREST_HOME/main/webapp/resources.xmap and see if it works.
No. I think that you are not understanding.
Ross was saying that Forrest does this svn2png
automatically, You do not need a special project
sitemap. The resources.xmap is part of main forrest.
Everything should just work out-of-the box if you
put files in xdocs/images/foo.svg and refer to the
output documents as images/foo.png
> Regarding the boxes.svg I have made it work in FOP, in batik, soddipodi
> and Acrobats svg, so the format should be ok I believe.
Did you see issue FOR-229
http://issues.cocoondev.org/browse/FOR-229
Some SVG files (but not all) need the DTD declaration
to be commented-out.
--David
> Praveen
>
> There should be no need to create a project specific match to create
> images from svg as Forrest already does this (see
> FORREST_HOME/main/webapp/resources.xmap). Furthermore, this match will
> prevent you serving any "images/*.png" files that are png sources - be
> careful (the resources.xmap shows how to deal with this issue).
>
> However, given that you have created one, lets find your problem. Where
> What is project.images-dir set to (if anything) in forrest.properties
> and where is your boxes.svg file (I've not look at your SVG I trust it
> is good, I'm no expert with that format).
>
> Ross
>
|