https://issues.apache.org/bugzilla/show_bug.cgi?id=50749

           Summary: <script> should unwrap ScriptException when reporting
                    errors to the user
           Product: Ant
           Version: 1.8.1
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If I put in a <script> which calls some other task and that task fails for some
reason, the reason gets obscured by being wrapped in a ScriptException.  As I
was the one who wrote all the scripts in our builds, people immediately come to
me, assuming that the script is at fault.

The result of running a task via a script should mirror the result of running
it directly.  I suspect that this is just a matter of unwrapping the
ScriptException to expose the real exception, but Ant is not printing the
nested exception so it is not clear how much unwrapping would be needed.

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

Reply via email to