ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46480] Running SQL Task inside Maven Ant-Run prevents logging for subsequent tasks
Date Tue, 06 Jan 2009 14:17:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46480


Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |notifications@ant.apache.org
         AssignedTo|notifications@ant.apache.org|bodewig@apache.org
   Target Milestone|---                         |1.8.0




--- Comment #3 from Stefan Bodewig <bodewig@apache.org>  2009-01-06 06:17:56 PST ---
Have you actually tried 1.7.0 as well?  I think I've spotted the problem, but
if I do, it has been introduced with svn revision 551166 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=551166
) which went into 1.7.1
but not into 1.7.0.

In the execute method there is a finally block that looks like

                } finally {
                    FileUtils.close(out);
                }

in 1.7.1.  Can you change it to read

                } finally {
                    if (out != System.out) {
                        FileUtils.close(out);
                    }
                }

and somehow make maven use your patched code to verify this is causing
the problem?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

Mime
View raw message