DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24906>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24906 [PATCH] Added relativebase parameter to Ant Task ------- Additional Comments From [EMAIL PROTECTED] 2003-11-22 19:18 ------- It's related to "basedir", but no setting of basedir achieves the desired effect. basedir sets a specific directory that all the links in the subdirectory are relative to. relativebase sets the basedir to each .fo's directory, while it renders that page. for example consider the following directory ~/docs/projects/images, and the fo file ~/docs/ projects/project.fo which contains a relative external-graphic at images/image1.jpg if you run the ant task and set basedir=~/docs, on the fileset of **/*.fo, it finds project.fo and renders it. When it gets to the external-graphic, it tries to find images/image1.jpg, but it looks off of the basedir, so it's looking in ~/docs/images/image1.jpg, which doesn't exist. relativebase=true sets basedir to the directory that each .fo is in, amking it possible to find images/image1.jpg. basedir is a global and is only set once, relativebase forces the task to reassign basedir for every fo file.