The FOP ant task is You can find the
source in the source distribution or in CVS. The relative path to this
file is src/org/apache/fop/tools/anttasks/

For a use sample go to the directory docs/examples (relative to the
directory where you've installed the FOP distribution) and look at
build.xml there.

To define the task in ant, make sure fop.jar is in the classpath and
include the following tag:

<taskdef name="fop" classname=""/>

To run the task do something like the following:
<fop format="application/pdf" outdir="${referenceDir}" basedir="./fo">
        <fileset dir="${foDir}">
                <include name="**/*.fo"/>

Here are the links to CVS to these files.

I hope this helps.

On 20.11.2002 17:15:19 Howard Miller wrote:
> Thanks,
> but..... I'm not sure where you are pointing me to for these files. Please 
> excuse my obvious ignorance.
> Howard
> On Wednesday 20 November 2002 16:11, Jeremias Maerki wrote:
> > There is one in Look at docs/examples/build.xml on
> > how to use it. Seems like we should document it....
> >
> > On 20.11.2002 16:56:32 Howard Miller wrote:
> > > Hi,
> > >
> > > I can feel a FTFM coming on, but... Is there an existing Ant task for
> > > FOP. Have had a good dig around but can't find anything.

Jeremias Maerki

Reply via email to