Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > How to change the BaseDir for the FOP Task in Ant?

Reply
Thread Tools

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

 
 
Eric Bisson
Guest
Posts: n/a
 
      10-31-2003
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ant task keep basedir on include Greg Java 8 07-06-2012 12:25 AM
Problems running Apache FOP: org.apache.fop.fo.FOTreeBuilder fatalError Pablo Java 0 03-28-2007 02:31 PM
Maven using ANT plugin for SCP task : Embedded error: Could not create task or type of type: scp. krabhi Java 1 08-09-2006 04:19 PM
Re: Problem in ant replace task and replaceregexp task to update xml Victor Java 0 09-01-2004 03:58 AM
ant multiple basedir for jar or cab? me Java 1 07-28-2003 10:15 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57