Index: src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java
===================================================================
--- src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java	(révision 617775)
+++ src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java	(copie de travail)
@@ -6,6 +6,8 @@
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences.NodeChangeEvent;
 import org.eclipse.jdt.core.ClasspathContainerInitializer;
 import org.eclipse.jdt.core.IClasspathContainer;
 import org.eclipse.jdt.core.IClasspathEntry;
@@ -25,7 +27,7 @@
      * Initialize the container with the "persisted" class path entries, and then schedule the
      * refresh
      */
-    public void initialize(IPath containerPath, IJavaProject project) throws CoreException {
+    public void initialize(IPath containerPath, final IJavaProject project) throws CoreException {
         if (IvyClasspathContainer.isIvyClasspathContainer(containerPath)) {
             String ivyFilePath = IvyClasspathContainer.getIvyFilePath(containerPath);
             String[] confs = IvyClasspathContainer.getConfigurations(containerPath);
@@ -57,8 +59,21 @@
                         + containerPath.toString(), ex);
             }
 
-            // now refresh the container to be synchronized with the ivy.xml
-            ((IvyClasspathContainer) container).refresh(false);
+            final IvyClasspathContainer ivyContainer = (IvyClasspathContainer) container;
+
+            // now refresh the container to be synchronized with the ivy.xml, but only when the
+            // preferences will be loaded (see  IVYDE-70)
+            IvyPlugin.getDefault().getProjectPreferences(project).addNodeChangeListener(
+                new IEclipsePreferences.INodeChangeListener() {
+                    public void removed(NodeChangeEvent event) {
+                        // nothing to do
+                    }
+
+                    public void added(NodeChangeEvent event) {
+                        ivyContainer.refresh(false);
+                    }
+
+                });
         }
     }
 
