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 47683] New: Ant task omits Throwable.getCause()
Date Wed, 12 Aug 2009 02:37:52 GMT
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: notifications@ant.apache.org
        ReportedBy: cowwoc@bbs.darktech.org


--- Comment #0 from Gili <cowwoc@bbs.darktech.org> 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.

Mime
View raw message