[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-users
Subject: Rasterizer Ant Task Problems
From: Jason Lane <jason () onspeed ! com>
Date: 2006-04-27 10:25:31
Message-ID: 6C688352-941D-4FD2-A1D0-70324F28FB2E () onspeed ! com
[Download RAW message or body]
Hi List,
I've complied the Batik ant rasterizer task but when I run it I get:
ant-build.xml:283: java.lang.NullPointerException
The following is my ant build, target 'doOutputSVG' works, so my SVG
files are being generated into '${in.dir}/svg.templates/'.
I'm using the same ant that I built the task with; 'Apache Ant
version 1.6.2'.
Line 283 = ' <rasterize result="image/png" destdir="${in.dir}/
svg.templates/">...'
<target name="doOutputSVG">
<java classname="${xslt.processor.class}" fork="yes" dir="$
{in.dir}" failonerror="true">
<classpath refid="xslt.processor.classpath" />
<jvmarg value="-Xmx256m" />
<jvmarg value="-
Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
tBuilderFactoryImpl" />
<jvmarg value="-
Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact
oryImpl" />
<jvmarg value="-
Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.p
arsers.XIncludeParserConfiguration" />
<arg line="-x org.apache.xml.resolver.tools.ResolvingXMLReader" />
<arg line="-y org.apache.xml.resolver.tools.ResolvingXMLReader" />
<arg line="-r org.apache.xml.resolver.tools.CatalogResolver" />
<arg line="${website.autolayout}" />
<arg line="${svg.stylesheet}" />
<arg line="setdomain=${domain}" />
<arg line="setlocale=${setlocale}" />
<arg line="output-root=${in.dir}/svg.templates/" />
</java>
</target>
<target name="doRasterizeSVG">
<rasterize result="image/png" destdir="${in.dir}/svg.templates/">
<fileset dir="${in.dir}/svg.templates">
<include name="**/*.svg" />
</fileset>
</rasterize>
</target>
Many thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic