Stefan Bodewig wrote:
No, it will replace the "the following error occured" with the error message from theOn 21 Apr 2005, <[EMAIL PROTECTED]> wrote:
add backtrace attribute to <macrodef>
On second glance, this is not what I need 8-(
+ <tr>
+ <td valign="top">backtrace</td>
+ <td valign="top">
+ This controls the error traceback if they is an
+ error detected when running the macro. If this is
+ set to true, there will be an erro trackback, if false
+ there will not be one. The default value is true.
+ <em>Since ant 1.7</em>.
+ </td>
+ <td valign="top" align="center">No</td>
+ </tr>
Is this really what it does?
AFAICS we only remove the "the following error occured" line.
build exception.
This will cause the error to be reported from within the macro definition. (i.e. fromwhat I need is
+ } else {
+ throw ex;
+ }
within the antlib resource).
Peter
Stefan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]