https://issues.apache.org/bugzilla/show_bug.cgi?id=47683
Summary: Ant task omits Throwable.getCause()
Product: Ant
Version: 1.7.1
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Gili <[email protected]> 2009-08-11 19:37:50 PDT ---
If the <ant> task invokes a build.xml that in-turn invokes a custom Ant task
that throws an exception, the underlying exception "cause" will be dropped
silently.
For example:
The following error occurred while executing this line:
C:\Users\Gili\Documents\jperipheral\trunk\java\netbeans\build.xml:102:
java.lang.RuntimeException: Error parsing
C:\Users\Gili\Documents\jperipheral\trunk\cpp\windows\source\jperipheral\Main.cpp
The underlying Ant task throws RuntimeException with a cause of type
NoClassDefFoundError. If the cause was reported I'd
be able to know what class file was missing.
This issue is 100% reproducible. Please see
http://www.netbeans.org/issues/show_bug.cgi?id=170170 for more information.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.