You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2008/05/24 12:40:18 UTC

svn commit: r659787 - in /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse: CHANGES.txt src/java/org/apache/ivyde/eclipse/IvyPlugin.java

Author: hibou
Date: Sat May 24 03:40:17 2008
New Revision: 659787

URL: http://svn.apache.org/viewvc?rev=659787&view=rev
Log:
IVYDE-85: On classpath issues the user is not notified
 - catch Trowable in order to catch NoClassDefFoundError

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt?rev=659787&r1=659786&r2=659787&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt Sat May 24 03:40:17 2008
@@ -13,6 +13,7 @@
 - IMPROVE: Simplify the resolve process (IVYDE-64) (thanks to Nicolas Lalevée) 
 - IMPROVE: Add new target to build.xml to build the plugin with Ant (IVYDE-88)
 
+- FIX: On classpath issues the user is not notified (IVYDE-85)
 - FIX: Loading config causes BuildException and eclipse freaks out (IVYDE-79)
 - FIX: NPE that break eclipse: the Java project becomes empty (IVYDE-84)
 - FIX: IvyDE is dependant on environment variable MOZILLA_FIVE_HOME (IVYDE-10)

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java?rev=659787&r1=659786&r2=659787&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java Sat May 24 03:40:17 2008
@@ -358,7 +358,9 @@
                 }
             }
             return ic.ivy;
-        } catch (Exception e) {
+        } catch (Throwable e) {
+            // catching Throwable in case of class path errors, some NoClassDefFoundError can be
+            // raised (IVYDE-85)
             MessageDialog
                     .openWarning(
                         getActiveWorkbenchShell(),