ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r659694 - in /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse: CHANGES.txt src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
Date Fri, 23 May 2008 22:30:57 GMT
Author: hibou
Date: Fri May 23 15:30:57 2008
New Revision: 659694

URL: http://svn.apache.org/viewvc?rev=659694&view=rev
Log:
IVYDE-79: Loading config causes BuildException and eclipse freaks out
 - just catch more throwable exeptions

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/cpcontainer/IvyClasspathContainer.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=659694&r1=659693&r2=659694&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt Fri May 23 15:30:57 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: 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)
 - FIX: no support of organization spelling (IVYDE-19)

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java?rev=659694&r1=659693&r2=659694&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
Fri May 23 15:30:57 2008
@@ -195,8 +195,10 @@
                 job.setRule(RESOLVE_EVENT_RULE);
                 return job;
             }
-        } catch (Exception e) {
+        } catch (Throwable e) {
+            // IVYDE-79 : catch Throwable in order to catch java.lang.NoClassDefFoundError
too 
             Message.error(e.getMessage());
+            IvyPlugin.log(IStatus.ERROR, "The creation of the job failed", e);
             return null;
         }
     }



Mime
View raw message