How to change the BaseDir for the FOP Task in Ant?

E

Eric Bisson

Hi.

I am using the FOP 0.20.5 task in Ant 1.5.1 to transform a .fo file
into a PDF. The transformation is correct except for the image file
(file not found). The image file is in a directory relative to the
..fo file as stipulated in the FOP-ANT doc (by default the baseDir is
where the .fo file is). But de baseDir is the directory where the fop
task is running.

I tried to change the baseDir with <key>baseDir</key> in the
userconfig.xml file by adding the userconfig argument to the FOP task
without success.

Any idea?

Regards,
Eric Bisson
Montreal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top