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=17781>.
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=17781

name attribute of record task is not relative to basedir





------- Additional Comments From [EMAIL PROTECTED]  2003-10-02 12:56 -------
I played a little bit with that. An additional file-attribute would help.
But I have to search for a solution for getting the right name from the file.

Scenario:
    <record file="logs/log.txt" action="start" />
    <record name="logs/log.txt" action="stop" />                        
Both should use the same recorder. But file is a java.io.File and set by Ant 
with an absolute value (e.g. /home/test/logs/log.txt). So I have to get the 
relative part (/home/test = basedir). But the problem is: what if I set the 
file value to an absolute value by myself?
        <record file="/logs/antlogs/logs/log.txt" action="start" />

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to