xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Stepper <step...@sympedia.com>
Subject NPE in Fop Task
Date Wed, 15 Feb 2006 06:16:55 GMT
Hi,

I get a NullPointerException when calling Fop from my Ant script:

	<macrodef name="pdf">
		<attribute name="filename" />
		<sequential>
			<ant antfile="${docbook.xsl.home}/scripts/build.xml" target="build.fo">
				<property name="file.name" value="@{filename}" />
				<property name="target.dir" value="pdf" />
			</ant>
			<fop fofile="pdf/@{filename}.fo" outfile="pdf/@{filename}.pdf" format="application/pdf"
messagelevel="debug" />
		</sequential>
	</macrodef>

	<target name="generate">
		<pdf filename="TechReport" />
	</target>

No stacktrace ;-(
The .fo file is attached.

Any ideas?

Cheers
/Eike


Mime
View raw message