conor 2004/08/12 07:44:00 Modified: src/main/org/apache/tools/ant/launch Launcher.java Log: Merge Revision Changes Path 1.18 +7 -1 ant/src/main/org/apache/tools/ant/launch/Launcher.java Index: Launcher.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -w -u -r1.17 -r1.18 --- Launcher.java 15 Mar 2004 18:02:35 -0000 1.17 +++ Launcher.java 12 Aug 2004 14:44:00 -0000 1.18 @@ -195,7 +195,13 @@ AntMain main = (AntMain) mainClass.newInstance(); main.startAnt(newArgs, null, null); } catch (Throwable t) { + if (t instanceof InstantiationException) { + InstantiationException ie = (InstantiationException) t; + System.err.println("Instantiation Exception - root cause:"); + ie.getCause().printStackTrace(); + } else { t.printStackTrace(); + } } } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]