Always state the FOP and JDK version you're using.

You can run Ant using the "-d" or "-v" parameters and then you should
get stack traces.

On 15.02.2006 07:16:55 Eike Stepper wrote:
> 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
> 



Jeremias Maerki


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

Reply via email to