DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29723>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29723

File creation/read issue with record and loadfile tasks

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2004-06-28 08:05 -------
> The record task is not generating the output files relative to the basedir
> folder of a build script, but the loadfile task seems to be loading files
> relative to the basedir???

Both assertions are correct.

<record>'s behavior is wrong - it always uses the current working directory to 
base
relative file names on.  Unfortunately we can't fix it without breaking 
backwards
compatibility.  The task is with us since Ant 1.2 and it has always been wrong.

<lodafile> behaves as all Ant tasks should do.

Workaround:  Use an absolute path or ${basedir}/some/path as value for the name
attribute in <record>.

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

Reply via email to