By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,497 Members | 1,287 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,497 IT Pros & Developers. It's quick & easy.

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

P: n/a

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 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?

Eric Bisson
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.