Author: hibou
Date: Tue Apr  1 07:13:39 2008
New Revision: 643411

URL: http://svn.apache.org/viewvc?rev=643411&view=rev
Log:
IVYDE-34: internal error when doing resolve

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

Modified: ant/ivy/ivyde/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/CHANGES.txt?rev=643411&r1=643410&r2=643411&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/CHANGES.txt (original)
+++ ant/ivy/ivyde/trunk/CHANGES.txt Tue Apr  1 07:13:39 2008
@@ -21,6 +21,7 @@
 - FIX: An error occurs when closing a project while the ivy editor is opened 
(IVYDE-81)
 - FIX: Compilation fails on Europa due to API change (IVYDE-58)
 - FIX: No debug info in console (IVYDE-39)
+- FIX: Internal error when doing resolve (IVYDE-34)
 
 - moved to apache, packages renamed to org.apache.ivyde
                                

Modified: 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java?rev=643411&r1=643410&r2=643411&view=diff
==============================================================================
--- 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
 (original)
+++ 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
 Tue Apr  1 07:13:39 2008
@@ -319,6 +319,13 @@
                 }
             };
 
+            resolver.setUncaughtExceptionHandler(new 
Thread.UncaughtExceptionHandler() {
+                public void uncaughtException(Thread t, Throwable e) {
+                    status[0] = new Status(Status.ERROR, IvyPlugin.ID, 
Status.ERROR,
+                            "The resolve job has unexpectedly stopped", e);
+                }
+            });
+
             try {
                 resolver.start();
                 while (true) {


Reply via email to