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

record task overwrites existing log file (doc says it appends)

           Summary: record task overwrites existing log file (doc says it
                    appends)
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Running ant -f twice with the following file:

<?xml version="1.0"?>
<project name="broken_append" default="main">
    <target name="main" depends="" description="">
                <record name="broken_append_default.log" loglevel="verbose"/>
        </target>
</project>

should produce two sets of log output in the broken_append_default.log file.
Instead, only one set of log output is recorded. This is because the file is
overwritten. The doc (http://ant.apache.org/manual/CoreTasks/recorder.html) says
that the default for tha append attribute is 'yes', but the actual default seems
to be no. 
Workaround is to hardcode the append attribute to 'yes'.

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

Reply via email to