DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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-23 16:27 --- Looking at today's bug report, I noticed that this patch solves bug 21916.
DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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 17:47 --- Isn't that basedir?
DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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.
DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-11-22 19:55 --- Thanks, Joe, for your patience explaining this (again). I think this is interesting and so I have applied your patch. Thank you for that. I've also checked the Ant manual and haven't found anything alike. I'm not totally happy with the name of the parameter but haven't been able to come up with a better one. We can still change it if necessary. The main point is that it's documented. As an example of the feature I was able to simplify the build.xml in examples/fo.
DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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-21 22:54 --- Does a similar property exist for the Ant xslt task--did you give it the same name as that one and the same default value--1.0 is not in much production use so I'd rather take advantage of that to make it the same as the xslt property.
DO NOT REPLY [Bug 24906] - [PATCH] Added relativebase parameter to Ant Task
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-21 23:31 --- I checked the manual at http://ant.apache.org/manual/CoreTasks/style.html but wasn't able to find a coresponding property. If I'm missing it or someone comes up with a better name, I'm all ears.