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 47509] Exception in scriptdef prints entire stack trace
Date Mon, 13 Jul 2009 11:00:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47509


Stefan Bodewig <bodewig@apache.org> changed:

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




--- Comment #1 from Stefan Bodewig <bodewig@apache.org>  2009-07-13 04:00:49 PST ---
I haven't tried beanshell but JavaScript in svn revision 793540 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=793540
)

When using Apache BSF things are just like one would want them to be - a one
line "I failed!" message.

But using javax.script things look ugly.  Unfortunately the scripting engine
throws a ScriptException without any nested cause in this case, completely
hiding the original BuildException.

The beanshell implementation may be doing better, in which case the changes
committed in above revision may help.

If it doesn't, then I'm afraid there isn't anything we can do from Ant's side.

Using WONTFIX as a placeholder for CANTFIX.

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

Mime
View raw message