Index: src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
===================================================================
--- src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java	(révision 617088)
+++ src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java	(copie de travail)
@@ -52,8 +52,6 @@
 import org.eclipse.jdt.core.IJavaProject;
 import org.eclipse.jdt.core.JavaCore;
 import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.internal.core.ClasspathEntry;
-import org.eclipse.jdt.internal.core.JavaModelManager;
 import org.eclipse.swt.widgets.Display;
 
 /**
@@ -338,7 +336,7 @@
                     Path javadocArtifact = getJavadocArtifactPath(artifact, all);
                     paths.add(JavaCore.newLibraryEntry(classpathArtifact, getSourceAttachment(
                         classpathArtifact, sourcesArtifact), getSourceAttachmentRoot(
-                        classpathArtifact, sourcesArtifact), ClasspathEntry.NO_ACCESS_RULES,
+                        classpathArtifact, sourcesArtifact), null,
                         getExtraAttribute(classpathArtifact, javadocArtifact), false));
                 }
             }
@@ -531,6 +529,17 @@
         IvyPlugin.getDefault().register(this);
     }
 
+    public IvyClasspathContainer(IvyClasspathContainer other) {
+        _javaProject = other._javaProject;
+        _path = other._path;
+
+        _ivyXmlPath = other._ivyXmlPath;
+        _ivyXmlFile = other._ivyXmlFile;
+        _confs = other._confs;
+        _classpathEntries = other._classpathEntries;
+        IvyPlugin.getDefault().register(this);
+    }
+
     private File resolveFile(String path) {
         IFile iFile = _javaProject.getProject().getFile(path);
         return new File(iFile.getLocation().toOSString());
@@ -653,10 +662,8 @@
 
     private void notifyUpdateClasspathEntries() {
         try {
-            JavaModelManager manager = JavaModelManager.getJavaModelManager();
-            manager.containerPut(_javaProject, _path, null);
             JavaCore.setClasspathContainer(_path, new IJavaProject[] {_javaProject},
-                new IClasspathContainer[] {IvyClasspathContainer.this}, null);
+                new IClasspathContainer[] {new IvyClasspathContainer(IvyClasspathContainer.this)}, null);
         } catch (JavaModelException e) {
             Message.error(e.getMessage());
         }
