Author: hibou
Date: Sun Aug 19 16:08:40 2012
New Revision: 1374784
URL: http://svn.apache.org/viewvc?rev=1374784&view=rev
Log:
Fix container serialization
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerSerializer.java
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerSerializer.java
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerSerializer.java?rev=1374784&r1=1374783&r2=1374784&view=diff
==============================================================================
---
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerSerializer.java
(original)
+++
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerSerializer.java
Sun Aug 19 16:08:40 2012
@@ -82,7 +82,7 @@ public class IvyClasspathContainerSerial
private static final String KIND = "kind";
- private static final String SOURCE = "kind";
+ private static final String SOURCE = "source";
private static final String ACCESS_RULES = "accessRules";
@@ -114,7 +114,7 @@ public class IvyClasspathContainerSerial
// don't care
}
}
- } catch (IOException ioe) {
+ } catch (Exception ioe) {
IvyPlugin.log(IStatus.WARNING, "IvyDE container states of the
project "
+ project.getProject().getName() + " cound not be saved",
ioe);
}
@@ -133,7 +133,7 @@ public class IvyClasspathContainerSerial
// don't care
}
}
- } catch (IOException ioe) {
+ } catch (Exception ioe) {
IvyPlugin.log(IStatus.WARNING, "IvyDE container states of the
project "
+ project.getProject().getName() + " cound not be read",
ioe);
return null;